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

Side by Side Diff: tests/compiler/dart2js/mirrors_helper.dart

Issue 10692040: Mirrors prototype added to dartdoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, 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 file.
4
5 #library('mirrors_helper');
6
7 typedef E Func<E,F extends Foo>(F f);
8
9 main() {
10
11 }
12
13 class Foo {
14
15 }
16
17 interface Bar<E> {
18
19 }
20
21 class Baz<E,F extends Foo> implements Bar<E> {
22 Baz();
23 const Baz.named();
24 factory Baz.factory();
25
26 method1(e) {}
27 static void method2(E e, [F f = null]) {}
28 void method3(E func1(F f), Func<E,F> func2) {}
29
30 bool operator==(Object other) => return false;
31 Baz<E,F> operator negate() => this;
32 }
gbracha 2012/06/30 01:27:32 Operator negate is going away. Is it necessary to
33
34 class Boz extends Foo {
35 var field1;
36 int _field2;
37 final String field3;
38
39 int get field2() => _field2;
40 void set field2(int value) {
41 _field2 = value;
42 }
43 }
44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698