Chromium Code Reviews| Index: tests/language/black_listed_test.dart |
| =================================================================== |
| --- tests/language/black_listed_test.dart (revision 26064) |
| +++ tests/language/black_listed_test.dart (working copy) |
| @@ -37,7 +37,7 @@ |
| } /// 10: continued |
| // Function. |
| -class MyFunction implements Function {} /// 11: compile-time error |
| +class MyFunction implements Function {} |
|
Ivan Posva
2013/08/14 05:27:57
You should both allow implements Function and exte
Florian Schneider
2013/08/14 09:07:49
Done.
|
| abstract class MyFunctionInterface implements Function default F { /// 12: compile-time error |
| MyFunctionInterface(); /// 12: continued |
| } /// 12: continued |
| @@ -71,7 +71,7 @@ |
| new MyDoubleInterface(); /// 08: continued |
| new MyString(); /// 09: continued |
| new MyStringInterface(); /// 10: continued |
| - new MyFunction(); /// 11: continued |
| + new MyFunction(); |
| new MyFunctionInterface(); /// 12: continued |
| new MyDynamic(); /// 13: continued |
| new MyDynamicInterface(); /// 14: continued |