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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 1546223003: Issue 25314. Fix for incremental resolution of a function expression body in class declaration. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/incremental_resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index f8cba0cc2d7fb73da342a85ef5c7739717e7e7c5..f767db283f0a9650cea4fd82c0ace50116a2e68e 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -48,7 +48,7 @@ void set test_resolveApiChanges(bool value) {
*/
class DeclarationMatcher extends RecursiveAstVisitor {
/**
- * The libary containing the AST nodes being visited.
+ * The library containing the AST nodes being visited.
*/
LibraryElement _enclosingLibrary;
@@ -165,6 +165,8 @@ class DeclarationMatcher extends RecursiveAstVisitor {
_assertEquals(constructor.parameters.length, 0);
}
}
+ // matches, set the element
+ node.name.staticElement = element;
}
@override
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/incremental_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698