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

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

Issue 1797063002: Resolve obvious deprecation warnings on bleeding edge (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Add test Created 4 years, 9 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 | « lib/src/utils.dart ('k') | test/codegen/misc.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 6dbb5df9222dbb242f4f18a08e6f87df4fa4d7d6..01b632daf37406ef5c58f40db619c62f8b34d74b 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -18,7 +18,13 @@ dart_library.library('misc', null, /* Imports */[
get type() {
return Generic$();
}
+ m() {
+ return core.print(T);
+ }
}
+ dart.setSignature(Generic, {
+ methods: () => ({m: [dart.dynamic, []]})
+ });
return Generic;
});
let Generic = Generic$();
@@ -54,6 +60,7 @@ dart_library.library('misc', null, /* Imports */[
core.print(dart.equals(x, Generic));
core.print(new (Generic$(core.int))().type);
core.print(dart.equals(new Derived(), new Derived()));
+ new (Generic$(core.int))().m();
}
dart.fn(main);
// Exports:
« no previous file with comments | « lib/src/utils.dart ('k') | test/codegen/misc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698