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

Unified Diff: test/codegen/expect/closure.js

Issue 1636233002: fixes #427, static fields emitted outside the scope of their class (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged2 Created 4 years, 11 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 | « lib/src/codegen/js_module_item_order.dart ('k') | test/codegen/expect/collection/priority_queue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/closure.js
diff --git a/test/codegen/expect/closure.js b/test/codegen/expect/closure.js
index dedd188764341ba0b9d768a3127e44b2c8021013..b33e351fec2f42119f7e7e2b68a55de6ff99028f 100644
--- a/test/codegen/expect/closure.js
+++ b/test/codegen/expect/closure.js
@@ -107,15 +107,15 @@ dart_library.library('closure', null, /* Imports */[
statics: () => ({named_params: [dart.dynamic, [dart.dynamic], {b: dart.dynamic, c: dart.dynamic}]}),
names: ['named_params']
});
+ /** @final {string} */
+ Foo.some_static_constant = "abc";
+ /** @final {string} */
+ Foo.some_static_final = "abc";
+ /** @type {string} */
+ Foo.some_static_var = "abc";
return Foo;
});
let Foo = Foo$();
- /** @final {string} */
- Foo.some_static_constant = "abc";
- /** @final {string} */
- Foo.some_static_final = "abc";
- /** @type {string} */
- Foo.some_static_var = "abc";
class Bar extends core.Object {}
class Baz extends dart.mixin(Foo$(core.int), Bar) {
/** @param {?number} i */
« no previous file with comments | « lib/src/codegen/js_module_item_order.dart ('k') | test/codegen/expect/collection/priority_queue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698