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

Unified Diff: lib/compiler/implementation/compiler.dart

Issue 10629002: Avoid passing a null uri to translateUri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index 6a78ae5e1f127347aa970adbc7507e675cef653c..7da90baf06fdd271888a85a5197a9e503fdb9df6 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -368,7 +368,7 @@ class Compiler implements DiagnosticListener {
HInstruction instruction, Element element]) {
assembledCode = null; // Compilation failed. Make sure that we
// don't return a bogus result.
- SourceSpan span = const SourceSpan(null, null, null);
+ SourceSpan span = null;
if (node !== null) {
span = spanFromNode(node);
} else if (token !== null) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698