Index: tests/language/execute_finally9_test.dart |
diff --git a/tests/language/execute_finally9_test.dart b/tests/language/execute_finally9_test.dart |
index 6ed739a36ccce89254464b133bac4b52c62a6a71..19108daf2e3e712d4c793e41c25addb331f53b90 100644 |
--- a/tests/language/execute_finally9_test.dart |
+++ b/tests/language/execute_finally9_test.dart |
@@ -12,7 +12,7 @@ class Hello { |
try { |
sum += 1; |
return 'hi'; |
- } catch (var e) { |
+ } catch (e) { |
sum += 1; |
throw 'ball'; |
sum += 1; |
@@ -30,7 +30,7 @@ class Hello { |
try { |
sum += 1; |
return 'hi'; |
- } catch (var ex) { |
+ } catch (ex) { |
sum += 1; |
} finally { |
try { |
@@ -39,7 +39,7 @@ class Hello { |
break L; |
sum += 1; |
} |
- } catch (var ex) { |
+ } catch (ex) { |
sum += 1; |
} finally { |
sum += 1; |
@@ -53,7 +53,8 @@ class Hello { |
Expect.equals(3, sum); |
try { |
foo(); |
- } catch (var e) { |
+ } catch (e) { |
+ // Ignore. |
} |
Expect.equals(2, sum); |
} |