| Index: tests/html/js_typed_interop_default_arg_test.dart
|
| diff --git a/tests/html/js_typed_interop_default_arg_test.dart b/tests/html/js_typed_interop_default_arg_test.dart
|
| index 406f260ad8ff1154d28f64d6e53bf5b2497831fb..b80b45cced6bb9049f18857482a4109f38ab45df 100644
|
| --- a/tests/html/js_typed_interop_default_arg_test.dart
|
| +++ b/tests/html/js_typed_interop_default_arg_test.dart
|
| @@ -27,7 +27,7 @@ _injectJs() {
|
| class Foo {
|
| // Note: it's invalid to provide a default value.
|
| external static num get42([num b
|
| - = 3 // /// default_value: compile-time error
|
| + = 3 // //# default_value: compile-time error
|
| ]);
|
| external static num get43([num b]);
|
| }
|
| @@ -43,14 +43,14 @@ main() {
|
|
|
| test('call tearoff from dart with arg', () {
|
| var f = Foo.get42;
|
| - expect(f(2), 2); /// explicit_argument: ok
|
| + expect(f(2), 2); //# explicit_argument: ok
|
| });
|
|
|
| test('call tearoff from dart with default', () {
|
| var f = Foo.get42;
|
| // Note: today both SSA and CPS remove the extra argument on static calls,
|
| // but they fail to do so on tearoffs.
|
| - expect(f(), 3); /// default_value: continued
|
| + expect(f(), 3); //# default_value: continued
|
|
|
| f = Foo.get43;
|
| expect(f(), 43);
|
|
|