blob: d92b7ca6e7460e0ad21b72caf08dc3ba4ce45f54 [file] [log] [blame]
# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE.md file.
# Reproduction of https://github.com/flutter/flutter/issues/40966.
type: newworld
target: None
modules:
module:
module/a.dart: |
// @dart=2.9
class A { }
class B { }
class C { }
class AB = A with B;
module/.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "module",
"rootUri": ".."
}
]
}
worlds:
- entry: main.dart
fromComponent: true
sources:
main.dart: |
// @dart=2.9
import "package:module/a.dart";
class ABC = AB with C;
.dart_tool/package_config.json: |
{
"configVersion": 2,
"packages": [
{
"name": "module",
"rootUri": "../module"
}
]
}
modules:
- module
expectedLibraryCount: 2