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

Unified Diff: pkg/front_end/lib/src/fasta/errors.dart

Issue 2876813002: Implement generalized function types. (Closed)
Patch Set: Address comments. Created 3 years, 7 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 | « pkg/compiler/lib/src/util/util.dart ('k') | pkg/front_end/lib/src/fasta/fasta_codes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/errors.dart
diff --git a/pkg/front_end/lib/src/fasta/errors.dart b/pkg/front_end/lib/src/fasta/errors.dart
index f80c09d0e5839d3f1f9bbf30842c83cd7ebda49b..98493c4db5d06d7e8356d6e7c71f9b973cbe13a5 100644
--- a/pkg/front_end/lib/src/fasta/errors.dart
+++ b/pkg/front_end/lib/src/fasta/errors.dart
@@ -51,6 +51,9 @@ dynamic internalError(Object error, [Uri uri, int charOffset = -1]) {
/// handled correctly, the user will never see a stack trace that says "user
/// error".
dynamic inputError(Uri uri, int charOffset, Object error) {
+ if (errorsAreFatal && isVerbose) {
+ print(StackTrace.current);
+ }
throw new InputError(uri, charOffset, error);
}
« no previous file with comments | « pkg/compiler/lib/src/util/util.dart ('k') | pkg/front_end/lib/src/fasta/fasta_codes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698