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

Unified Diff: tests/compiler/dart2js_native/native_call_arity2_frog_test.dart

Issue 12517012: Revert "Revert "Use interceptor convention for methods declared on native classes."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_native/native_call_arity2_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_call_arity2_frog_test.dart b/tests/compiler/dart2js_native/native_call_arity2_frog_test.dart
index b24893a2d59f7a22bbb4ce31c43567779f26e362..f292ad1bf0cb939d0a9bfe8bf646ace2c41d235c 100644
--- a/tests/compiler/dart2js_native/native_call_arity2_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_call_arity2_frog_test.dart
@@ -13,8 +13,8 @@ class B extends A native "*B" {
int foo([x, y]) native;
}
-A makeA() native { return new A(); }
-B makeB() native { return new B(); }
+makeA() native;
+makeB() native;
void setup() native """
function inherits(child, parent) {
@@ -38,7 +38,6 @@ makeA = function(){return new A;};
makeB = function(){return new B;};
""";
-
testDynamicContext() {
var things = [makeA(), makeB()];
var a = things[0];
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698