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

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

Issue 1944483002: Redo how Type objects are exposed from DDC. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: More tweaks. Created 4 years, 8 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/browser/runtime_tests.js ('k') | test/codegen/language/type_literal_test.dart » ('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 564cd0eaeca1f2d91936af3ca6fbd8cbde65203a..fd3752f12922244855b09a16a785daf355cf00a7 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -17,10 +17,10 @@ dart_library.library('misc', null, /* Imports */[
misc.Generic$ = dart.generic(T => {
class Generic extends core.Object {
get type() {
- return misc.Generic;
+ return dart.wrapType(misc.Generic);
}
m() {
- return core.print(T);
+ return core.print(dart.wrapType(T));
}
}
dart.setSignature(Generic, {
@@ -57,8 +57,8 @@ dart_library.library('misc', null, /* Imports */[
core.print(dart.toString(1.0));
core.print(dart.toString(1.1));
let x = 42;
- core.print(dart.equals(x, dart.dynamic));
- core.print(dart.equals(x, misc.Generic));
+ core.print(dart.equals(x, dart.wrapType(dart.dynamic)));
+ core.print(dart.equals(x, dart.wrapType(misc.Generic)));
core.print(new (misc.Generic$(core.int))().type);
core.print(dart.equals(new misc.Derived(), new misc.Derived()));
new (misc.Generic$(core.int))().m();
« no previous file with comments | « test/browser/runtime_tests.js ('k') | test/codegen/language/type_literal_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698