Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: lib/src/utils.dart

Issue 2993483002: Update comment style generic syntax (Closed)
Patch Set: format file Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/scan.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 3bc6b6625a11ddc7c5de13a03213f95120cb4197..f2189f247a9790e10aea6729db804a77d21a77c6 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.
-/*=T*/ wrapFormatException/*<T>*/(String name, String value, /*=T*/ body()) {
+T wrapFormatException<T>(String name, String value, T body()) {
try {
return body();
} on SourceSpanFormatException catch (error) {
« no previous file with comments | « lib/src/scan.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698