| Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| index 13a15f820dc1348786516cfbd4926f9f1e398e57..86b266683f4efb3dd1d5b2bd6ad8e8d6053a186b 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
|
| @@ -688,8 +688,8 @@ class Dart2JsSourceLocation implements SourceLocation {
|
| var columnNumber = 0;
|
| while (0 <= index && index < sourceText.length) {
|
| columnNumber++;
|
| - var charCode = sourceText.charCodeAt(index);
|
| - if (charCode == $CR || charCode == $LF) {
|
| + var codeUnit = sourceText.codeUnitAt(index);
|
| + if (codeUnit == $CR || codeUnit == $LF) {
|
| break;
|
| }
|
| index--;
|
|
|