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

Unified Diff: pkg/compiler/lib/src/constants/values.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 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
« no previous file with comments | « pkg/compiler/lib/src/constants/expressions.dart ('k') | pkg/compiler/lib/src/deferred_load.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/constants/values.dart
diff --git a/pkg/compiler/lib/src/constants/values.dart b/pkg/compiler/lib/src/constants/values.dart
index 0818f91885b7bf962385ea9b69204e3e46594dbb..73e39c16f90b57983f3c085655e127730270693a 100644
--- a/pkg/compiler/lib/src/constants/values.dart
+++ b/pkg/compiler/lib/src/constants/values.dart
@@ -30,20 +30,22 @@ enum ConstantValueKind {
abstract class ConstantValueVisitor<R, A> {
const ConstantValueVisitor();
- R visitFunction(FunctionConstantValue constant, A arg);
- R visitNull(NullConstantValue constant, A arg);
- R visitInt(IntConstantValue constant, A arg);
- R visitDouble(DoubleConstantValue constant, A arg);
- R visitBool(BoolConstantValue constant, A arg);
- R visitString(StringConstantValue constant, A arg);
- R visitList(ListConstantValue constant, A arg);
- R visitMap(MapConstantValue constant, A arg);
- R visitConstructed(ConstructedConstantValue constant, A arg);
- R visitType(TypeConstantValue constant, A arg);
- R visitInterceptor(InterceptorConstantValue constant, A arg);
- R visitSynthetic(SyntheticConstantValue constant, A arg);
- R visitDeferred(DeferredConstantValue constant, A arg);
- R visitNonConstant(NonConstantValue constant, A arg);
+ R visitFunction(covariant FunctionConstantValue constant, covariant A arg);
+ R visitNull(covariant NullConstantValue constant, covariant A arg);
+ R visitInt(covariant IntConstantValue constant, covariant A arg);
+ R visitDouble(covariant DoubleConstantValue constant, covariant A arg);
+ R visitBool(covariant BoolConstantValue constant, covariant A arg);
+ R visitString(covariant StringConstantValue constant, covariant A arg);
+ R visitList(covariant ListConstantValue constant, covariant A arg);
+ R visitMap(covariant MapConstantValue constant, covariant A arg);
+ R visitConstructed(
+ covariant ConstructedConstantValue constant, covariant A arg);
+ R visitType(covariant TypeConstantValue constant, covariant A arg);
+ R visitInterceptor(
+ covariant InterceptorConstantValue constant, covariant A arg);
+ R visitSynthetic(covariant SyntheticConstantValue constant, covariant A arg);
+ R visitDeferred(covariant DeferredConstantValue constant, covariant A arg);
+ R visitNonConstant(covariant NonConstantValue constant, covariant A arg);
}
abstract class ConstantValue {
« no previous file with comments | « pkg/compiler/lib/src/constants/expressions.dart ('k') | pkg/compiler/lib/src/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698