commit | 71951f8d687c6e7400bc9e5605301d2ef3fafa5b | [log] [tgz] |
---|---|---|
author | sgrekhov <sgrekhov@unipro.ru> | Thu Apr 15 12:25:21 2021 +0700 |
committer | sgrekhov <sgrekhov@unipro.ru> | Thu Apr 15 12:25:32 2021 +0700 |
tree | 082742d82743fa0824166e5f6cb987843fc93bec | |
parent | 1f30df073c5df8236e52350a6e78ce02557c34ea [diff] |
Fixed typo which broke the test
diff --git a/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t02.dart b/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t02.dart index c2029c9..e13f243 100644 --- a/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t02.dart +++ b/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t02.dart
@@ -54,7 +54,7 @@ f(func) { try { throw 1; // caugth exceptions do not matter - } on int catch (e) { + } on int catch (_) { count++; if (count < 20) func(); } @@ -77,7 +77,7 @@ Expect.equals(null, C.sTyped); () => C.sFinal; - Expect.throws(() { C.sFinal; }; + Expect.throws(() { C.sFinal; }); () => C.sFinalTyped; Expect.throws(() { C.sFinalTyped; });