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

Unified Diff: pkg/dev_compiler/test/codegen_expected/unresolved_names.js

Issue 3009733002: fix how DDC finds its undefined constant (Closed)
Patch Set: rebase and rebuild JS files Created 3 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: pkg/dev_compiler/test/codegen_expected/unresolved_names.js
diff --git a/pkg/dev_compiler/test/codegen_expected/unresolved_names.js b/pkg/dev_compiler/test/codegen_expected/unresolved_names.js
index 43e049a8b376d1afe3d1eca594afe1b4031a2243..73e2874672b4a723a4195cb1d667b9c6d20a8738 100644
--- a/pkg/dev_compiler/test/codegen_expected/unresolved_names.js
+++ b/pkg/dev_compiler/test/codegen_expected/unresolved_names.js
@@ -8,6 +8,7 @@ define(['dart_sdk'], function(dart_sdk) {
unresolved_names.C = class C extends core.Object {};
(unresolved_names.C.new = function() {
}).prototype = unresolved_names.C.prototype;
+ dart.addTypeTests(unresolved_names.C);
unresolved_names.main = function() {
new (dart.throw(Error("compile error: unresolved constructor: dynamic.<unnamed>")))();
new (dart.throw(Error("compile error: unresolved constructor: C.bar")))();
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js.map ('k') | pkg/dev_compiler/test/codegen_expected/varargs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698