Index: sdk/lib/_internal/compiler/implementation/source_map_builder.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/source_map_builder.dart b/sdk/lib/_internal/compiler/implementation/source_map_builder.dart |
index 83e985183039bcece7d51c75cb84776989997f3e..1665d222fd334181ac89e6b452c306b472c8a015 100644 |
--- a/sdk/lib/_internal/compiler/implementation/source_map_builder.dart |
+++ b/sdk/lib/_internal/compiler/implementation/source_map_builder.dart |
@@ -196,5 +196,5 @@ class SourceFileLocation { |
return null; |
} |
- bool isValid() => token.charOffset < sourceFile.text.length; |
+ bool isValid() => token.charOffset < sourceFile.length; |
} |