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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 12207081: Add a type kind to TypedSelector. A typed selector can either be (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (revision 18249)
+++ sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (working copy)
@@ -864,10 +864,8 @@
// make sure all [noSuchMethod] methods know they might take a
// [JsInvocationMirror] as parameter.
HTypeList types = new HTypeList(1);
- types[0] = new HType.fromBoundedType(
- compiler.jsInvocationMirrorClass.computeType(compiler),
- compiler,
- false);
+ types[0] = new HBoundedType.exact(
+ compiler.jsInvocationMirrorClass.computeType(compiler));
argumentTypes.registerDynamicInvocation(types, new Selector.noSuchMethod());
}

Powered by Google App Engine
This is Rietveld 408576698