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

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

Issue 1133593004: fixes #131, use before define from variables to classes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 | « test/codegen/expect/map_keys.js.map ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index a59fd6cb1b4b14a1537ff45ce995470c73859096..9c4419fb6307c623f1d0d0cde1020d5ffcd0b139 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -2,6 +2,11 @@ var misc = dart.defineLibrary(misc, {});
var core = dart.import(core);
(function(exports, core) {
'use strict';
+ class _Uninitialized extends core.Object {
+ _Uninitialized() {
+ }
+ }
+ let UNINITIALIZED = dart.const(new _Uninitialized());
// Function main: () → dynamic
function main() {
core.print(dart.toString(1));
@@ -9,5 +14,6 @@ var core = dart.import(core);
core.print(dart.toString(1.1));
}
// Exports:
+ exports.UNINITIALIZED = UNINITIALIZED;
exports.main = main;
})(misc, core);
« no previous file with comments | « test/codegen/expect/map_keys.js.map ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698