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

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

Issue 757193002: Fix for resolving super.method() invocations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/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 8b8062a27514f362d92158c03d3f8560e11f1278..f21ca4f8594e3c5b017e421ec86d838eaecc94db 100644
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
@@ -1762,6 +1762,19 @@ class A {
return a + second + c;'''), _isDeclaration);
}
+ void test_superInvocation() {
+ _resolveUnit(r'''
+class A {
+ foo(p) {}
+}
+class B extends A {
+ bar() {
+ super.foo(1 + 2);
+ }
+}''');
+ _resolve(_editString('+', '*'), _isFunctionBody);
+ }
+
void test_topLevelFunction_label_add() {
_resolveUnit(r'''
int main(int a, int b) {

Powered by Google App Engine
This is Rietveld 408576698