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

Unified Diff: sdk/lib/_internal/compiler/implementation/apiimpl.dart

Issue 23583041: Don't expect String on read-errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: sdk/lib/_internal/compiler/implementation/apiimpl.dart
diff --git a/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
index d211e9415c0895c2bf0ab1d6037ae8ef0fa19dbe..d65b4b83fa416f9bd71374868c29ad600f0f0728 100644
--- a/sdk/lib/_internal/compiler/implementation/apiimpl.dart
+++ b/sdk/lib/_internal/compiler/implementation/apiimpl.dart
@@ -164,7 +164,7 @@ class Compiler extends leg.Compiler {
// TODO(johnniwinther): Add [:report(..., {Element element}):] to
// report methods in Compiler.
- void reportReadError(String exception) {
+ void reportReadError(exception) {
withCurrentElement(element, () {
reportError(node,
leg.MessageKind.READ_SCRIPT_ERROR,

Powered by Google App Engine
This is Rietveld 408576698