| Index: pkg/compiler/lib/src/io/location_provider.dart
|
| diff --git a/pkg/compiler/lib/src/io/location_provider.dart b/pkg/compiler/lib/src/io/location_provider.dart
|
| index 1ac9af76e7429e52f5d41ff655691939e2baeff4..a015babe4aedbf2142eea6618ad295639bb7187a 100644
|
| --- a/pkg/compiler/lib/src/io/location_provider.dart
|
| +++ b/pkg/compiler/lib/src/io/location_provider.dart
|
| @@ -39,8 +39,7 @@ class LocationCollector extends CodeOutputListener implements LocationProvider {
|
|
|
| @override
|
| Location getLocation(int offset) {
|
| - RangeError.checkValueInInterval(offset, 0, length, "offset",
|
| - "The value of 'offset' ($offset) must be between 0 and $length.");
|
| + RangeError.checkValueInInterval(offset, 0, length, 'offset');
|
| return new Source(lineStarts, null).getLocation(null, offset);
|
| }
|
|
|
|
|