Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'ParameterElementForLink_VariableSetter' has no instance getter 'isCovariant'. #27367

Closed
scheglov opened this issue Sep 16, 2016 · 2 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@scheglov
Copy link
Contributor

Linking of summaries is broken.

FYI @stereotype441 @jmesserly

Unhandled exception:
Class 'ParameterElementForLink_VariableSetter' has no instance getter 'isCovariant'.

NoSuchMethodError: method not found: 'isCovariant'
Receiver: Instance of 'ParameterElementForLink_VariableSetter'
Arguments: []
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:44)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:47)
#2      ParameterElementForLink_VariableSetter.noSuchMethod (package:analyzer/src/summary/link.dart:4012:60)
#3      InstanceMemberInferrer._inferExecutable.<anonymous closure> (package:analyzer/src/task/strong_mode.dart:312:41)
#4      Object&ListMixin.any (dart:collection/list.dart:115)
#5      InstanceMemberInferrer._inferExecutable (package:analyzer/src/task/strong_mode.dart:310:55)
#6      List.forEach (dart:core-patch/growable_array.dart:258)
#7      InstanceMemberInferrer._inferClass (package:analyzer/src/task/strong_mode.dart:223:32)
#8      InstanceMemberInferrer.inferCompilationUnit.<anonymous closure> (package:analyzer/src/task/strong_mode.dart:93:9)
#9      List.forEach (dart:core-patch/growable_array.dart:258)
#10     InstanceMemberInferrer.inferCompilationUnit (package:analyzer/src/task/strong_mode.dart:91:16)
#11     CompilationUnitElementInBuildUnit.link (package:analyzer/src/summary/link.dart:1244:12)
#12     LibraryElementInBuildUnit.link (package:analyzer/src/summary/link.dart:3485:12)
#13     LibraryCycleNode.link (package:analyzer/src/summary/link.dart:3260:15)
#14     LibraryCycleDependencyWalker.evaluate (package:analyzer/src/summary/link.dart:3182:7)
#15     DependencyWalker.walk.strongConnect (package:analyzer/src/summary/link.dart:1819:13)
#16     DependencyWalker.walk.strongConnect (package:analyzer/src/summary/link.dart:1785:24)
#17     DependencyWalker.walk.strongConnect (package:analyzer/src/summary/link.dart:1785:24)
#18     DependencyWalker.walk (package:analyzer/src/summary/link.dart:1838:18)
#19     LibraryCycleForLink.ensureLinked (package:analyzer/src/summary/link.dart:3225:42)
#20     Linker.link (package:analyzer/src/summary/link.dart:3709:35)
#21     relink (package:analyzer/src/summary/link.dart:126:57)
#22     link (package:analyzer/src/summary/link.dart:107:3)
#23     _Builder.build (package:analyzer/src/summary/summary_file_builder.dart:95:45)
#24     SummaryBuilder.build (package:analyzer/src/summary/summary_file_builder.dart:72:70)
#25     _buildSummary (file:///Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analyzer/tool/summary/build_sdk_summaries.dart:58:64)
@scheglov scheglov added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures labels Sep 16, 2016
@bwilkerson bwilkerson added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Sep 16, 2016
@scheglov scheglov self-assigned this Sep 16, 2016
@scheglov
Copy link
Contributor Author

scheglov added a commit that referenced this issue Sep 16, 2016
@scheglov
Copy link
Contributor Author

3f26497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants