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

Unified Diff: pkg/analyzer/test/src/task/strong/checker_test.dart

Issue 1568643002: clean up generic methods in resolution (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « pkg/analyzer/test/generated/resolver_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/strong/checker_test.dart
diff --git a/pkg/analyzer/test/src/task/strong/checker_test.dart b/pkg/analyzer/test/src/task/strong/checker_test.dart
index b896776ccd5023768d25895f15fedc8de9020386..46d99db78ac57da85a0d7f6e547a964c795ca233 100644
--- a/pkg/analyzer/test/src/task/strong/checker_test.dart
+++ b/pkg/analyzer/test/src/task/strong/checker_test.dart
@@ -102,11 +102,9 @@ void main() {
B f = new B();
int x;
double y;
- // The analyzer has what I believe is a bug (dartbug.com/23252) which
- // causes the return type of calls to f to be treated as dynamic.
- x = /*info:DYNAMIC_CAST should be pass*/f(3);
+ x = f(3);
x = /*severe:STATIC_TYPE_ERROR*/f.col(3.0);
- y = /*info:DYNAMIC_CAST should be severe:STATIC_TYPE_ERROR*/f(3);
+ y = /*severe:STATIC_TYPE_ERROR*/f(3);
y = f.col(3.0);
f(/*severe:STATIC_TYPE_ERROR*/3.0);
f.col(/*severe:STATIC_TYPE_ERROR*/3);
« no previous file with comments | « pkg/analyzer/test/generated/resolver_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698