You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a stripped down version of a compiler error that appear when upgrading to Flutter 2.8 (Dart 2.15.0). Dart SDK version: 2.15.0 (stable) (Fri Dec 3 14:23:23 2021 +0100) on "macos_x64"
I can reproduce it with dart compile so I open the bug in this repository.
If tree shaker doesn't visit TypeParameterType.promotedBound which
contains the only reference to a particular class it may remove that
class, leaving a dangling reference from promotedBound. After that
kernel AST serialization would crash with "Missing canonical name for
Reference" error.
This change also fixes TypeParameterType.visitChildren.
TEST=pkg/vm/testcases/transformations/type_flow/transformer/regress_47878.dart
Fixes#47878
Change-Id: I555261713240bf0be412db27efb68f32cfd8008b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222781
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Alexander Markov <[email protected]>
Here is a stripped down version of a compiler error that appear when upgrading to Flutter 2.8 (Dart 2.15.0).
Dart SDK version: 2.15.0 (stable) (Fri Dec 3 14:23:23 2021 +0100) on "macos_x64"
I can reproduce it with
dart compile
so I open the bug in this repository.dart compile exe -o output canonical_name_bug.dart
Compiler output:
It seems this is because I have an
is
on an abstract class that is not extended anywhere.The text was updated successfully, but these errors were encountered: