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

Side by Side Diff: test/codegen/language/conditional_access_helper.dart

Issue 1316723003: implement null aware ops, fixes #249 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 3 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) 2015, 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 used by conditional_property_assignment_test.dart,
6 // conditional_property_access_test.dart, and
7 // conditional_method_invocation_test.dart, all of which import it using the
8 // prefix "h.".
9
10 library lib;
11
12 var topLevelVar;
13
14 void topLevelFunction() {}
15
16 class C {
17 static int staticInt;
18 static staticF(callback()) => callback();
19 static int staticG(int callback()) => callback();
20 }
21
22 C nullC() => null;
23
24 class D {
25 static E staticE;
26 }
27
28 class E {
29 G operator+(int i) => new I();
30 G operator-(int i) => new I();
31 }
32
33 class F {}
34
35 class G extends E implements F {}
36
37 class H {}
38
39 class I extends G implements H {}
OLDNEW
« no previous file with comments | « test/codegen/language/async_star_test.dart ('k') | test/codegen/language/conditional_method_invocation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698