Index: utils/kernel-service/kernel-service.dart |
diff --git a/utils/kernel-service/kernel-service.dart b/utils/kernel-service/kernel-service.dart |
index d162465e1d38c77aa5afe69334b48f42c2b83ac8..57f8a3811c1671fa7b61f57d6a960cafb5a1f3f6 100644 |
--- a/utils/kernel-service/kernel-service.dart |
+++ b/utils/kernel-service/kernel-service.dart |
@@ -175,7 +175,7 @@ Future<CompilationResult> parseScriptImpl(DartLoaderBatch batch_loader, |
.toList(growable: false)); |
} |
} on InputError catch (e) { |
- return new CompilationError(<String>[e.error]); |
+ return new CompilationError(<String>[e.format()]); |
} |
} else { |
DartOptions dartOptions = new DartOptions( |