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

Unified Diff: pkg/dev_compiler/lib/src/compiler/code_generator.dart

Issue 2861503002: fix #29530, field metadata generation (Closed)
Patch Set: wip Created 3 years, 8 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
« no previous file with comments | « no previous file | pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/code_generator.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/code_generator.dart b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
index 68bea1e3c384c9f4a192abfdf5054a883935db71..dfdf537bc85e95d31de7498359ccb17f1e9aabf6 100644
--- a/pkg/dev_compiler/lib/src/compiler/code_generator.dart
+++ b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
@@ -2958,7 +2958,7 @@ class CodeGenerator extends Object
args.add(new JS.ArrayInitializer(
metadata.map(_instantiateAnnotation).toList()));
}
- return _callHelper(isFinal ? 'finalFieldType(#)' : 'fieldType(#)', args);
+ return _callHelper(isFinal ? 'finalFieldType(#)' : 'fieldType(#)', [args]);
}
JS.ArrayInitializer _emitTypeNames(
« no previous file with comments | « no previous file | pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698