|
fixes #427, static fields emitted outside the scope of their class
mainly, this backs off of some readability optimizations around static and top-level fields that were too aggressive. On their own, they were okay, but they collide with the library-cycle issues. Once we can remove that issue, we could consider restoring some of this. In the meantime, simplicity is good.
The new operation in the declaration loader is to allow us to see if an initializer has all its dependencies satisfied, but without changing any ordering if they are not.
R=vsm@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/8ff0b180027043a258d565643d87db1ff3c23b64
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+960 lines, -732 lines) |
Patch |
 |
M |
lib/runtime/dart/_interceptors.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_internal.js
|
View
|
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/async.js
|
View
|
|
18 chunks |
+287 lines, -268 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/collection.js
|
View
|
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/convert.js
|
View
|
|
4 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/core.js
|
View
|
|
5 chunks |
+44 lines, -16 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/html.js
|
View
|
|
29 chunks |
+408 lines, -315 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/typed_data.js
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
lib/src/codegen/js_codegen.dart
|
View
|
1
2
|
18 chunks |
+91 lines, -73 lines |
0 comments
|
Download
|
 |
M |
lib/src/codegen/js_module_item_order.dart
|
View
|
|
6 chunks |
+37 lines, -11 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/closure.js
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/priority_queue.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/src/unmodifiable_wrappers.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/collection/wrappers.txt
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/es6_modules.js
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/fieldtest.js
|
View
|
|
1 chunk |
+23 lines, -7 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/language-all.js
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
M |
test/codegen/expect/sunflower/painter.js
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/sunflower/sunflower.js
|
View
|
|
1 chunk |
+13 lines, -5 lines |
0 comments
|
Download
|
Total messages: 8 (4 generated)
|