Index: tests/language/default_interface1_negative_test.dart |
diff --git a/tests/language/default_interface1_negative_test.dart b/tests/language/default_interface1_negative_test.dart |
index e644a1dabfb5875ba0a1a32f23e691c10a4b0d3f..cd06500537a9ac3eaf9be0468882a88a5d66b8b3 100644 |
--- a/tests/language/default_interface1_negative_test.dart |
+++ b/tests/language/default_interface1_negative_test.dart |
@@ -4,14 +4,14 @@ |
// VMOptions=--enable_type_checks |
// An interface with a constructor declared must have a default clause |
-interface IA { |
+interface IA { |
IA(); // Compile time error here |
-} |
+} |
main() { |
try { |
IA value = new IA(); |
- } catch(Exception e) { |
+ } on Exception catch (e) { |
print ("Got exception" + e); |
// compile-time error should not be catchable |
} |