Chromium Code Reviews

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

Issue 1195523002: Handle dynamic as bottom inside of function type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Bug fix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/codegen/expect/names.js
diff --git a/test/codegen/expect/names.js b/test/codegen/expect/names.js
index fc41a27b60288f010494c964db34b45ca6e78907..f0a360c10528d87aa2f2c924fe6539970550e29b 100644
--- a/test/codegen/expect/names.js
+++ b/test/codegen/expect/names.js
@@ -13,7 +13,7 @@ dart_library.library('names', null, /* Imports */[
}
}
dart.setSignature(Foo, {
- methods: () => ({[_foo$]: [core.Object, []]})
+ methods: () => ({[_foo$]: [dart.dynamic, []]})
});
function _foo() {
return 456;
@@ -30,7 +30,7 @@ dart_library.library('names', null, /* Imports */[
dart.defineNamedConstructor(Frame, 'caller');
dart.setSignature(Frame, {
constructors: () => ({caller: [Frame, [core.List]]}),
- statics: () => ({callee: [core.Object, []]}),
+ statics: () => ({callee: [dart.dynamic, []]}),
names: ['callee']
});
class Frame2 extends core.Object {}

Powered by Google App Engine