| Index: pkg/compiler/lib/src/resolution/resolution_result.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/resolution_result.dart b/pkg/compiler/lib/src/resolution/resolution_result.dart
|
| index 6168025a7743f5de445d220c668d91d480f65bd7..91d7c62b6696e12f1cea6fe168e7a7753be2088f 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution_result.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution_result.dart
|
| @@ -83,6 +83,15 @@ class TypeResult extends ResolutionResult {
|
| String toString() => 'TypeResult($type)';
|
| }
|
|
|
| +/// The result for the resolution of the `assert` method.
|
| +class AssertResult extends ResolutionResult {
|
| + const AssertResult();
|
| +
|
| + ResultKind get kind => ResultKind.ASSERT;
|
| +
|
| + String toString() => 'AssertResult()';
|
| +}
|
| +
|
| /// The result for resolving a constant expression.
|
| class ConstantResult extends ResolutionResult {
|
| final Node node;
|
| @@ -134,4 +143,4 @@ class ArgumentsResult {
|
| return result.constant;
|
| }).toList();
|
| }
|
| -}
|
| +}
|
|
|