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

Unified Diff: pkg/compiler/lib/src/compiler.dart

Issue 2982783003: Use failedAt in more places (Closed)
Patch Set: 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 | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/diagnostics/invariant.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 9885f5d8801b3aa7ac9e0b9d671d0292093c1e0a..64405b90222488f263c78bd87332e96caf8dc34e 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -860,13 +860,11 @@ abstract class Compiler {
* See [LibraryLoader] for terminology on URIs.
*/
Future<Script> readScript(Uri readableUri, [Spannable node]) {
- throw new SpannableAssertionFailure(
- node, 'Compiler.readScript not implemented.');
+ throw failedAt(node, 'Compiler.readScript not implemented.');
}
Future<Binary> readBinary(Uri readableUri, [Spannable node]) {
- throw new SpannableAssertionFailure(
- node, 'Compiler.readBinary not implemented.');
+ throw failedAt(node, 'Compiler.readBinary not implemented.');
}
Element lookupElementIn(ScopeContainerElement container, String name) {
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/diagnostics/invariant.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698