Index: pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
index 0f7d85cda5714dad727e470aab55b16a3e891d34..c47c63c97690c98f9d7312a9e3f10706dfe13d85 100644 |
--- a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
+++ b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
@@ -583,7 +583,7 @@ class InferrerEngineImpl extends InferrerEngine { |
trace(<FunctionEntity>[info.member], |
new StaticTearOffClosureTracerVisitor(info.member, info, this)); |
} else if (info is ParameterTypeInformation) { |
- throw new SpannableAssertionFailure( |
+ failedAt( |
NO_LOCATION_SPANNABLE, 'Unexpected closure allocation info $info'); |
} |
}); |