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

Side by Side Diff: pkg/front_end/test/mixin_export_test.dart

Issue 3004703002: Don't export unnamed mixins. (Closed)
Patch Set: Created 3 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) 2017, 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 import 'package:async_helper/async_helper.dart' show asyncTest;
6
7 import 'package:front_end/src/testing/compiler_common.dart';
8 import 'package:front_end/front_end.dart';
9
10 main() {
11 asyncTest(() async {
12 var sources = <String, dynamic>{
13 'a.dart': 'class A extends Object with M {} class M {}',
14 'b.dart': 'import "a.dart"; class B extends Object with M {}',
15 'c.dart': 'export "a.dart"; export "b.dart";',
16 };
17 await compileUnit(sources.keys.toList(), sources,
18 options: new CompilerOptions()
19 ..onError = (e) => throw '${e.severity}: ${e.message}');
20 });
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698