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

Side by Side Diff: tests/unsorted/super_named_arguments_test.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « tests/unsorted/string_from_iterable_test.dart ('k') | tests/unsorted/unsorted.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 6
7 class A { 7 class A {
8 int x; 8 int x;
9 int y; 9 int y;
10 int a; 10 int a;
11 int b; 11 int b;
12 12
13 A(this.x, this.y, {this.a: -1, this.b: -1}) { 13 A(this.x, this.y, {this.a: -1, this.b: -1}) {
14 } 14 }
15 } 15 }
16 16
17 class B extends A { 17 class B extends A {
18 B(int x, int y) : super(x, y, b: 4, a: 3); 18 B(int x, int y) : super(x, y, b: 4, a: 3);
19 } 19 }
20 20
21 void main() { 21 void main() {
22 var b = new B(1, 2); 22 var b = new B(1, 2);
23 Expect.equals(1, b.x); 23 Expect.equals(1, b.x);
24 Expect.equals(2, b.y); 24 Expect.equals(2, b.y);
25 Expect.equals(3, b.a); 25 Expect.equals(3, b.a);
26 Expect.equals(4, b.b); 26 Expect.equals(4, b.b);
27 } 27 }
OLDNEW
« no previous file with comments | « tests/unsorted/string_from_iterable_test.dart ('k') | tests/unsorted/unsorted.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698