| Index: dart/tests/language/src/SyntaxTest.dart
|
| diff --git a/dart/tests/language/src/SyntaxTest.dart b/dart/tests/language/src/SyntaxTest.dart
|
| index 2a4a923c3cfcb4ae28d7c9fb7c74f7c85536efad..6d176c05386344fffb7caa4bd40aa8516e74ff82 100644
|
| --- a/dart/tests/language/src/SyntaxTest.dart
|
| +++ b/dart/tests/language/src/SyntaxTest.dart
|
| @@ -229,8 +229,14 @@ main() {
|
| print(null is void); /// 62: compile-time error
|
| new B();
|
|
|
| + new Bad();
|
| +
|
| } catch (var ex) {
|
| // Swallowing exceptions. Any error should be a compile-time error
|
| // which kills the current isolate.
|
| }
|
| }
|
| +
|
| +class Bad {
|
| + factory Bad<Bad(String type) { return null; } /// 63: compile-time error
|
| +}
|
|
|