| Index: pkg/compiler/lib/src/io/source_information.dart
|
| diff --git a/pkg/compiler/lib/src/io/source_information.dart b/pkg/compiler/lib/src/io/source_information.dart
|
| index f2b6f64ed8b45d48eda27e8f82dc2380482e841b..e6403bf7978f6fab0aebaea506a65fbea68a37a2 100644
|
| --- a/pkg/compiler/lib/src/io/source_information.dart
|
| +++ b/pkg/compiler/lib/src/io/source_information.dart
|
| @@ -200,8 +200,11 @@ abstract class AbstractSourceLocation extends SourceLocation {
|
| Location _location;
|
|
|
| AbstractSourceLocation(this._sourceFile) {
|
| - assert(invariant(new SourceSpan(sourceUri, 0, 0), isValid,
|
| - message: "Invalid source location in ${sourceUri}: "
|
| + assert(
|
| + isValid,
|
| + failedAt(
|
| + new SourceSpan(sourceUri, 0, 0),
|
| + "Invalid source location in ${sourceUri}: "
|
| "offset=$offset, length=${_sourceFile.length}."));
|
| }
|
|
|
|
|