| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index b37b41bafba9413ec0454edf7ff90bef17701dd6..ca55cdd2b1a38e11cc39f378a891d16b2e0270a7 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -389,6 +389,18 @@ main() {
|
| (String result) { Expect.equals(expectedResult, result); });
|
| }
|
|
|
| +testDefaultClassWithArgs() {
|
| + testDart2Dart('main(){var result=new IA<String>();}'
|
| + 'interface IA<T> default A<T extends Object>{IA();}'
|
| + 'class A<T extends Object> implements IA<T>{factory A(){}}');
|
| +}
|
| +
|
| +testClassExtendsWithArgs() {
|
| + testDart2Dart('main(){new B<Object>();}'
|
| + 'class A<T extends Object>{}'
|
| + 'class B<T extends Object> extends A<T>{}');
|
| +}
|
| +
|
| testStaticInvocation() {
|
| testDart2Dart('main(){var x=Math.parseDouble("1");}');
|
| }
|
| @@ -417,4 +429,6 @@ main() {
|
| testConflictLibraryClassRename();
|
| testNoConflictSendsRename();
|
| testConflictSendsRename();
|
| + testDefaultClassWithArgs();
|
| + testClassExtendsWithArgs();
|
| }
|
|
|