Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
index 16f6a77b6a48defe374e444248ea7b8782bb3330..6cd0139c038383e235699e04a60a5d31e6df93c2 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
@@ -2035,7 +2035,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
throw MessageKind.INVALID_SOURCE_FILE_LOCATION.message( |
{'offset': token.charOffset, |
'fileName': sourceFile.filename, |
- 'length': sourceFile.text.length}); |
+ 'length': sourceFile.length}); |
} |
return location; |
} |