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

Side by Side Diff: pkg/front_end/lib/src/simple_error.dart

Issue 2976543002: Reapply "Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service."" (Closed)
Patch Set: fix 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 unified diff | Download patch
OLDNEW
(Empty)
1 import 'package:front_end/compilation_error.dart';
2
3 import 'package:source_span/source_span.dart' show SourceSpan;
4
5 /// An error that only contains a message and no error location.
6 class SimpleError implements CompilationError {
7 String get correction => null;
8 SourceSpan get span => null;
9 final String message;
10 SimpleError(this.message);
11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698