Index: tests/language/private_main.dart |
diff --git a/tests/language/private_main.dart b/tests/language/private_main.dart |
index 12599c468e5c9ee3aea85504b9a8f3914d4c8433..7bca65cdf10e31ab561a33ca958344075b77d854 100644 |
--- a/tests/language/private_main.dart |
+++ b/tests/language/private_main.dart |
@@ -15,7 +15,7 @@ class PrivateMain { |
var value = 0; |
try { |
value = _myPrecious; |
- } catch (var e) { |
+ } catch (e) { |
value = -1; |
} |
Expect.equals("A Ring", value); |
@@ -26,7 +26,7 @@ class PrivateMain { |
var the_other = new PrivateOther(); |
try { |
value = the_other._myPrecious; |
- } catch (var e, var trace) { |
+ } catch (e, trace) { |
print(e); |
print(trace); |
Expect.equals(true, e is NoSuchMethodException); |
@@ -40,7 +40,7 @@ class PrivateMain { |
var the_other = new PrivateLib(); |
try { |
value = the_other._myPrecious; |
- } catch (var e, var trace) { |
+ } catch (e, trace) { |
print(e); |
print(trace); |
Expect.equals(true, e is NoSuchMethodException); |