Index: samples/calculator/tape.dart |
diff --git a/samples/calculator/tape.dart b/samples/calculator/tape.dart |
index 2e9ed012dd2d4bcabc569a33c082e0099cf011cd..b0867b92ecc2bda0d6b24cc48b779e0318b468f3 100644 |
--- a/samples/calculator/tape.dart |
+++ b/samples/calculator/tape.dart |
@@ -22,7 +22,7 @@ class Tape { |
if (number != "." && number != "-" && number != "-.") { |
try { |
numberAsValue = Math.parseDouble(number.length == 0 ? "0" : number); |
- } on FormatException (e) { |
+ } on FormatException catch (e) { |
displayError(e.toString()); |
return; |
} |