| Index: tests/language/error_stacktrace_test.dart
|
| ===================================================================
|
| --- tests/language/error_stacktrace_test.dart (revision 35875)
|
| +++ tests/language/error_stacktrace_test.dart (working copy)
|
| @@ -84,9 +84,9 @@
|
| } on MyException catch (e) {
|
| i = 300;
|
| try {
|
| - // There should be no stackTrace in this normal excpetion object.
|
| + // There should be no stackTrace in this normal exception object.
|
| // We should get a NoSuchMethodError.
|
| - var trace = e.stackTrace;
|
| + var trace = e.stackTrace; /// static type warning
|
| } on NoSuchMethodError catch (e) {
|
| Expect.isNotNull(e.stackTrace, "Error needs a stackTrace on throw");
|
| }
|
|
|