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

Unified Diff: lib/runtime/dart_sdk.js

Issue 2076713002: Move type tagging logic out of setSignature (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Move type tagging logic out of setSignature Created 4 years, 6 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:
Download patch
« no previous file with comments | « no previous file | lib/src/compiler/code_generator.dart » ('j') | test/codegen/language/runtime_type_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_sdk.js
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
index 2a9ddbc490f681555f45f02f254bf36f4eff6937..3e50d8d0a1e66bc5b07158a0b6f5204ec072e141 100644
--- a/lib/runtime/dart_sdk.js
+++ b/lib/runtime/dart_sdk.js
@@ -830,7 +830,6 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart._setMethodSignature(f, methods);
dart._setStaticSignature(f, statics);
dart._setStaticTypes(f, names);
- dart.tagLazy(f, () => core.Type);
};
dart.hasMethod = function(obj, name) {
return dart.getMethodType(obj, name) !== void 0;
@@ -1890,6 +1889,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
noSuchMethod: dart.definiteFunctionType(dart.dynamic, [core.Invocation])
})
});
+ dart.tagComputed(core.Object, () => core.Type);
dart.TypeRep = class TypeRep extends core.Object {
new() {
dart._initialize;
« no previous file with comments | « no previous file | lib/src/compiler/code_generator.dart » ('j') | test/codegen/language/runtime_type_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698