DescriptionFix cast exception when a Handle gets a wrong element because of name conflict.
For example:
type 'TopLevelVariableElementImpl' is not a subtype of type 'FunctionTypeAliasElement' in type cast where
TopLevelVariableElementImpl is from package:analyzer/src/dart/element/element.dart
FunctionTypeAliasElement is from package:analyzer/dart/element/element.dart
R=brianwilkerson@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/0adb817be27994916cd256eb90e22ca6a6a1446b
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|