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

Unified Diff: pkg/front_end/lib/compilation_error.dart

Issue 2982093003: Unifying compiler context (Closed)
Patch Set: revert change to kernel-service.dart 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
Index: pkg/front_end/lib/compilation_error.dart
diff --git a/pkg/front_end/lib/compilation_error.dart b/pkg/front_end/lib/compilation_error.dart
deleted file mode 100644
index e78e8f91a8e8cd7568880fb3ae947105d7609f47..0000000000000000000000000000000000000000
--- a/pkg/front_end/lib/compilation_error.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/// Defines the API for the front end to communicate information about
-/// compilation errors to clients.
-library front_end.compilation_error;
-
-import 'package:source_span/source_span.dart' show SourceSpan;
-
-/// A single error that occurred during compilation, and information about where
-/// it occurred and how to fix it.
-///
-/// TODO(paulberry): add a reference to the analyzer error code.
-///
-/// Not intended to be implemented or extended by clients.
-// TODO(sigmund): rename to CompliationMessage
-abstract class CompilationError {
- /// A text description of the compile error.
- String get message;
-
- /// A suggestion for the user to hint them on how to fix the error. May be
- /// `null`.
- String get tip;
-
- /// The source span where the error occurred.
- SourceSpan get span;
-}

Powered by Google App Engine
This is Rietveld 408576698