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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java

Issue 164123002: Fix for issue 16037 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean-up Created 6 years, 10 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
index 77d513f70a0c5be37d3c253234e48fc3cee7991e..33e18d7c9e5866c04d3cbb297cdb176d96918206 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java
@@ -878,6 +878,20 @@ public class NonErrorResolverTest extends ResolverTestCase {
verify(source);
}
+ public void test_extraPositionalArguments_implicitConstructor() throws Exception {
+ Source source = addSource(createSource(//
+ "class A<E extends num> {",
+ " A(E x, E y);",
+ "}",
+ "class B<E extends num> = A<E>;",
+ "void main() {",
+ " B<int> x = new B<int>(0,0);",
+ "}"));
+ resolve(source);
+ assertNoErrors(source);
+ verify(source);
+ }
+
public void test_extraPositionalArguments_typedef_local() throws Exception {
Source source = addSource(createSource(//
"typedef A(p1, p2);",

Powered by Google App Engine
This is Rietveld 408576698