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

Unified Diff: test/codegen_expected/language/first_class_types_constants_test.js

Issue 2102053003: Remove DDC custom error list now that strong mode analyzer handles it (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: another fix Created 4 years, 5 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/language/first_class_types_constants_test.js
diff --git a/test/codegen_expected/language/first_class_types_constants_test.js b/test/codegen_expected/language/first_class_types_constants_test.js
index 121257cc99a18dc71a20bd5e986e3e435508f4e9..f9711df7ffc7d27b1cec6fe36efb6e2cf5a22f78 100644
--- a/test/codegen_expected/language/first_class_types_constants_test.js
+++ b/test/codegen_expected/language/first_class_types_constants_test.js
@@ -9,6 +9,7 @@ dart_library.library('language/first_class_types_constants_test', null, /* Impor
const expect$ = expect.expect;
const first_class_types_constants_test = Object.create(null);
let C = () => (C = dart.constFn(first_class_types_constants_test.C$()))();
+ let COfType = () => (COfType = dart.constFn(first_class_types_constants_test.C$(core.Type)))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
first_class_types_constants_test.C$ = dart.generic(T => {
class C extends core.Object {
@@ -25,9 +26,9 @@ dart_library.library('language/first_class_types_constants_test', null, /* Impor
first_class_types_constants_test.C = C();
first_class_types_constants_test.Fun = dart.typedef('Fun', () => dart.functionType(core.int, [dart.dynamic, dart.dynamic]));
first_class_types_constants_test.c0 = dart.wrapType(first_class_types_constants_test.C);
- first_class_types_constants_test.c1 = dart.const(new first_class_types_constants_test.C(dart.wrapType(first_class_types_constants_test.C)));
+ first_class_types_constants_test.c1 = dart.const(new (COfType())(dart.wrapType(first_class_types_constants_test.C)));
first_class_types_constants_test.c2 = dart.wrapType(first_class_types_constants_test.Fun);
- first_class_types_constants_test.c3 = dart.const(new first_class_types_constants_test.C(dart.wrapType(first_class_types_constants_test.Fun)));
+ first_class_types_constants_test.c3 = dart.const(new (COfType())(dart.wrapType(first_class_types_constants_test.Fun)));
first_class_types_constants_test.main = function() {
expect$.Expect.identical(dart.wrapType(first_class_types_constants_test.C), dart.wrapType(first_class_types_constants_test.C));
expect$.Expect.identical(dart.wrapType(first_class_types_constants_test.C), first_class_types_constants_test.c0);
« no previous file with comments | « test/codegen_expected/language/async_star_test_none_multi.js ('k') | test/codegen_expected/language/issue_23914_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698