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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/SuperMultipleInvocationsTest.dart

Issue 8479041: https://code.google.com/p/dart/issues/detail?id=255 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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: compiler/javatests/com/google/dart/compiler/resolver/SuperMultipleInvocationsTest.dart
===================================================================
--- compiler/javatests/com/google/dart/compiler/resolver/SuperMultipleInvocationsTest.dart (revision 0)
+++ compiler/javatests/com/google/dart/compiler/resolver/SuperMultipleInvocationsTest.dart (revision 0)
@@ -0,0 +1,15 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+class A {
+ int a;
+ A(this.a);
+ A.foo(int x, int y);
+}
+
+class B extends A {
+ int b1;
+ int b2;
+ B(int x) : this.b1 = x, super(x), this.b2 = x, super.foo(x, x);
+}

Powered by Google App Engine
This is Rietveld 408576698