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

Side by Side Diff: tests/language/deferred_static_seperate_lib2.dart

Issue 810473003: dart2js: Fix of deferred static functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve tests Created 6 years 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) 2014, 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 lib2;
6
7 import "package:expect/expect.dart";
8 import "deferred_static_seperate_lib1.dart";
9
10 foo() {
11 Expect.equals(1, C.foo());
12 Expect.mapEquals({}, C1.foo);
13
14 Expect.mapEquals({1: 2}, C2.foo);
15 C2.foo = {1: 2};
16 Expect.mapEquals({1: 2}, C2.foo);
17
18 Expect.equals(x, C3.foo);
19 Expect.mapEquals({x: x}, C4.foo);
20 Expect.listEquals([const{1: 3}], C5.foo);
21
22 }
OLDNEW
« no previous file with comments | « tests/language/deferred_static_seperate_lib1.dart ('k') | tests/language/deferred_static_seperate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698