Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: pkg/analyzer/lib/src/dart/element/element.dart

Issue 2754423002: Fail inference when an instance field is referenced. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index aa31f7d2ed102124249b6a2c5a055623634bec38..d046a81463aef9073794903d4e4677ffd58191b4 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -7143,6 +7143,7 @@ abstract class NonParameterVariableElementImpl extends VariableElementImpl {
@override
void set type(DartType type) {
+// print('[type=] $type');
_assertNotResynthesized(_unlinkedVariable);
_type = type;
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/link.dart » ('j') | pkg/analyzer/test/src/summary/linker_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698