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

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

Issue 799553002: dart2js: fix mixin support in deferred libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix does not work in CPS-mode, mark test as failing. 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 lib1;
6
7 import "deferred_mixin_shared.dart";
8 import "deferred_mixin_test.dart";
9
10 class Mixin {
11 foo() => "lib1.Mixin";
12 }
13
14 class A extends Object with NonDeferredMixin {
15 foo() {
16 return "A with " + super.foo();
17 }
18 }
19
20 class B extends Object with Mixin {
21 foo() {
22 return "B with " + super.foo();
23 }
24 }
25
26 class C extends Object with Mixin, NonDeferredMixin1 {
27 foo() {
28 return "C with " + super.foo();
29 }
30 }
31
32 class D extends Object with NonDeferredMixin2, Mixin {
33 foo() {
34 return "D with " + super.foo();
35 }
36 }
37
38 class E extends Object with SharedMixin {
39 foo() {
40 return "E with " + super.foo();
41 }
42 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart ('k') | tests/language/deferred_mixin_lib2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698