Index: pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
diff --git a/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart b/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
index bef06b2568ae39ceb202965591faa736a1a39249..c7918ce83082672c3660d95e53978774713896cd 100644 |
--- a/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
+++ b/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
@@ -125,7 +125,7 @@ class NoSuchMethodRegistry { |
} |
_subcategorizeOther(FunctionElement element) { |
- if (_compiler.globalInference.throwsAlways(element)) { |
+ if (_compiler.globalInference.results.throwsAlways(element)) { |
complexNoReturnImpls.add(element); |
} else { |
complexReturningImpls.add(element); |