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

Side by Side Diff: pkg/fasta/test/rasta/mixin_library.dart

Issue 2650913007: Import rasta tests. (Closed)
Patch Set: Address comment. Created 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 library test.mixin_library;
6
7 f() => 2;
8
9 V() => 87;
10
11 _private() => 117;
12
13 class Mixin<T> {
14 var x = f(), y, z;
15 T t;
16 foo() => super.foo() + f();
17 T g(T a) => null;
18 h() => V();
19 l() => _private();
20 _privateMethod() => 49;
21 publicMethod() => _privateMethod();
22 }
23
24 foo(m) => m._privateMethod();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698