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

Unified Diff: test/codegen_expected/js_test.js

Issue 2249233002: fix #626, add AMD module format and make it default (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix tests and other changes Created 4 years, 4 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: test/codegen_expected/js_test.js
diff --git a/test/codegen_expected/js_test.js b/test/codegen_expected/js_test.js
index 0c6a6854ae66ffc3bb4d224622bd6d0fb857cb23..99a9db44be6a4bacb0909bda1e13f4f805ea8756 100644
--- a/test/codegen_expected/js_test.js
+++ b/test/codegen_expected/js_test.js
@@ -1 +1,11 @@
-//FAILED TO COMPILE
+define([], function() {
+ 'use strict';
+ const js_test = Object.create(null);
+ js_test.main = function() {
+ throw Error("DDC Compilation Error: js_test has 328 errors");
vsm 2016/08/25 12:19:24 Should this have been generated? I think this cod
Jennifer Messerly 2016/08/25 16:21:39 good catch. we don't delete codegen_expect when so
+ };
+ // Exports:
+ return {
+ js_test: js_test
+ };
+});

Powered by Google App Engine
This is Rietveld 408576698