Index: tests/language/getter_no_setter_test.dart |
diff --git a/tests/language/getter_no_setter_test.dart b/tests/language/getter_no_setter_test.dart |
index 04298df7fe4bde792d85d0ec11fc6a9b5bb9fd2b..eb8075a0eea97a6cedbc4af513a135a26348edd2 100644 |
--- a/tests/language/getter_no_setter_test.dart |
+++ b/tests/language/getter_no_setter_test.dart |
@@ -11,7 +11,7 @@ class Example { |
bool flag_exception = false; |
try { |
nextVar = 1; // Equivalent to this.nextVar = 1. |
- } catch (var excpt) { |
+ } catch (excpt) { |
flag_exception = true; |
} |
Expect.isTrue(flag_exception); |
@@ -20,7 +20,7 @@ class Example { |
bool flag_exception = false; |
try { |
this.nextVar = 1; /// 00: static type warning |
- } catch (var excpt) { |
+ } catch (excpt) { |
flag_exception = true; |
} |
Expect.isTrue(flag_exception); /// 00: continued |