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

Unified Diff: pkg/analyzer/test/generated/incremental_resolver_test.dart

Issue 794863003: Issue 21842. Fix incremental resolving of parameters of function typed parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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/lib/src/generated/incremental_resolver.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/generated/incremental_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
index fe62b1736925d6e4bf5833882eae48840c39a5e8..7aef61e75e07929e9260cc39c2641fb272db18d9 100644
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
@@ -2147,6 +2147,14 @@ int main(int a, int b) {
_resolve(_editString('int res = a * b;', ''), _isBlock);
}
+ void test_topLevelFunction_parameter_inFunctionTyped_rename() {
+ _resolveUnit(r'''
+test(f(int a, int b)) {
+}
+''');
+ _resolve(_editString('test(f(int a', 'test(f2(int a2'), _isDeclaration);
+ }
+
void test_topLevelFunction_parameter_rename() {
_resolveUnit(r'''
int main(int a, int b) {
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698