| Index: tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart b/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
|
| index 20debda492612c7bc53154acc6cdad5e2bb933fc..949a405f07952132931c9b16937feeb60a114e49 100644
|
| --- a/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
|
| @@ -15,8 +15,9 @@ class A {
|
|
|
| factory A.fromString(String s) => makeA(s.length);
|
|
|
| - // Only functions with zero parameters are allowed with "native r'...'".
|
| - factory A.nativeConstructor() native r'return makeA(102);';
|
| + factory A.nativeConstructor() {
|
| + return JS('A|Null', 'makeA(102)');
|
| + }
|
|
|
| foo() native;
|
| }
|
|
|