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

Unified Diff: lib/compiler/implementation/resolver.dart

Issue 10702204: Revert "Allow patch files to add top-level declarations to the patched library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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: lib/compiler/implementation/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index 155ce5065855a0c6424b016feb3bf2a9e0d9e50a..b811b8a4dff3ccd92b08d2d51a07bb6af365c785 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -1867,7 +1867,8 @@ class VariableDefinitionsVisitor extends CommonResolverVisitor<SourceString> {
VariableDefinitionsVisitor(Compiler compiler,
this.definitions, this.resolver, this.kind)
- : super(compiler) {
+ : super(compiler)
+ {
variables = new VariableListElement.node(
definitions, ElementKind.VARIABLE_LIST, resolver.context.element);
}
« no previous file with comments | « lib/compiler/implementation/patch_parser.dart ('k') | lib/compiler/implementation/scanner/class_element_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698