Index: lib/src/utils.dart |
diff --git a/lib/src/utils.dart b/lib/src/utils.dart |
index 4dcee1988000e1a0d77be60a35765881625bd753..79ce4486826d95ec1436bd461e1b384142d05832 100644 |
--- a/lib/src/utils.dart |
+++ b/lib/src/utils.dart |
@@ -8,7 +8,7 @@ import 'package:source_span/source_span.dart'; |
/// |
/// [name] should describe the type of thing being parsed, and [value] should be |
/// its actual value. |
-wrapFormatException(String name, String value, body()) { |
+/*=T*/ wrapFormatException/*<T>*/(String name, String value, /*=T*/ body()) { |
try { |
return body(); |
} on SourceSpanFormatException catch (error) { |