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

Unified Diff: pkg/analyzer/test/src/summary/linker_test.dart

Issue 2028713003: Fix AST-based type inference with explicit type parameters for method calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/test/src/summary/linker_test.dart
diff --git a/pkg/analyzer/test/src/summary/linker_test.dart b/pkg/analyzer/test/src/summary/linker_test.dart
index 6bfb3fc7df62bcfed31c16c27519f6a0f2cb82c7..674ce9b7c3fbc9e4ce7c99dc640e0acf6d7849af 100644
--- a/pkg/analyzer/test/src/summary/linker_test.dart
+++ b/pkg/analyzer/test/src/summary/linker_test.dart
@@ -662,6 +662,15 @@ var y = x;
'dynamic');
}
+ @failingTest
+ void test_methodCall_withTypeArguments_topLevelVariable() {
+ // The following code is incorrect but it shouldn't crash analyzer.
+ // TODO(paulberry): fix this.
+ createLinker('var f = f/*<int>*/();');
+ LibraryElementForLink library = linker.getLibrary(linkerInputs.testDartUri);
+ library.libraryCycleForLink.ensureLinked();
+ }
+
void test_multiplyInheritedExecutable_differentSignatures() {
createLinker('''
class B {

Powered by Google App Engine
This is Rietveld 408576698