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 1b887803c0a60c0314ae5c076c36852a8cab0927..9956a18b52163a698e237b1e9f69f06aca46d78f 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 |
@@ -124,7 +124,7 @@ class NoSuchMethodRegistry { |
} |
_subcategorizeOther(FunctionElement element) { |
- if (_compiler.globalInference.results.throwsAlways(element)) { |
+ if (_compiler.globalInference.results.resultOf(element).throwsAlways) { |
complexNoReturnImpls.add(element); |
} else { |
complexReturningImpls.add(element); |