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

Unified Diff: pkg/analyzer/lib/src/generated/type_system.dart

Issue 2755283002: fix `?` incorrectly being used in an implicit instantiation (Closed)
Patch Set: add another test Created 3 years, 9 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
Index: pkg/analyzer/lib/src/generated/type_system.dart
diff --git a/pkg/analyzer/lib/src/generated/type_system.dart b/pkg/analyzer/lib/src/generated/type_system.dart
index 33548259cadef81471ddcbf4f6a027c53e4db0d8..d6b3215699683f6f0a593ded075f5f57cbb623aa 100644
--- a/pkg/analyzer/lib/src/generated/type_system.dart
+++ b/pkg/analyzer/lib/src/generated/type_system.dart
@@ -244,9 +244,7 @@ class StrongTypeSystemImpl extends TypeSystem {
inferrer.constrainReturnType(inferFnType, contextType);
// Infer and instantiate the resulting type.
- return inferrer.infer(fnType, fnType.typeFormals,
- downwardsInferPhase: true,
- errorReporter: errorReporter, errorNode: errorNode);
+ return inferrer.infer(fnType, fnType.typeFormals);
}
/// Infers a generic type, function, method, or list/map literal
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/strong_mode_test.dart » ('j') | pkg/analyzer/test/generated/strong_mode_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698