Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1959)

Unified Diff: pkg/compiler/lib/src/resolution/resolution_result.dart

Issue 1342213003: Add optional message to assert in Dart2js - continued (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add --assert-message flag Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 91d7c62b6696e12f1cea6fe168e7a7753be2088f..6168025a7743f5de445d220c668d91d480f65bd7 100644
--- a/pkg/compiler/lib/src/resolution/resolution_result.dart
+++ b/pkg/compiler/lib/src/resolution/resolution_result.dart
@@ -83,15 +83,6 @@ 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;
@@ -143,4 +134,4 @@ class ArgumentsResult {
return result.constant;
}).toList();
}
-}
+}
« no previous file with comments | « pkg/compiler/lib/src/resolution/registry.dart ('k') | pkg/compiler/lib/src/resolution/semantic_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698