Index: tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart b/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
index b0d63e210b6d6e7e0e8014fb1dddc48a5c2f634a..9553be5cfb8a11729900a6af48fd48da993dd9e0 100644 |
--- a/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_named_constructors2_frog_test.dart |
@@ -7,24 +7,23 @@ import "package:expect/expect.dart"; |
// Native class with named constructors and static methods. |
- |
- |
@Native("A") |
class A { |
- |
factory A(int len) => _construct(len); |
- factory A.fromString(String s) => _construct(s.length); |
+ factory A.fromString(String s) => _construct(s.length); |
// Only functions with zero parameters are allowed with "native r'...'". |
factory A.nativeConstructor() native r'return makeA(102);'; |
- static A _construct(v) { return makeA(v); } |
+ static A _construct(v) { |
+ return makeA(v); |
+ } |
- foo() native; |
+ foo() native ; |
} |
-makeA(v) native; |
+makeA(v) native ; |
void setup() native """ |
// This code is all inside 'setup' and so not accesible from the global scope. |