| Index: lib/src/codegen/reify_coercions.dart
|
| diff --git a/lib/src/codegen/reify_coercions.dart b/lib/src/codegen/reify_coercions.dart
|
| index 180e26fd544c5730ed427368057ed73e7561f920..fbedd451b83c84aeddc04820fb19284ee34ce818 100644
|
| --- a/lib/src/codegen/reify_coercions.dart
|
| +++ b/lib/src/codegen/reify_coercions.dart
|
| @@ -76,10 +76,13 @@ class UnitCoercionReifier extends analyzer.GeneralizingAstVisitor<Object>
|
| static String _conversionKind(Conversion node) {
|
| if (node is ClosureWrapLiteral) return "WrapLiteral";
|
| if (node is ClosureWrap) return "Wrap";
|
| - if (node is DownCastDynamic) return "CastDynamic";
|
| - if (node is DownCastLiteral) return "CastLiteral";
|
| - if (node is DownCastExact) return "CastExact";
|
| - if (node is DownCast) return "CastGeneral";
|
| + if (node is DynamicCast) return "DynamicCast";
|
| + if (node is AssignmentCast) return "AssignmentCast";
|
| + if (node is InferableLiteral) return "InferableLiteral";
|
| + if (node is InferableClosure) return "InferableClosure";
|
| + if (node is InferableAllocation) return "InferableAllocation";
|
| + if (node is DownCastComposite) return "CompositeCast";
|
| + if (node is DownCastImplicit) return "ImplicitCast";
|
| assert(false);
|
| return "";
|
| }
|
| @@ -98,7 +101,7 @@ class UnitCoercionReifier extends analyzer.GeneralizingAstVisitor<Object>
|
| }
|
|
|
| @override
|
| - Object visitDownCastBase(DownCastBase node) {
|
| + Object visitDownCast(DownCast node) {
|
| if (_skipCoercions) {
|
| _log.severe("Skipping runtime downcast in constant context");
|
| return null;
|
|
|