mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00

- Only allow one module re-export per file - Warn when a re-exported type clashes with a locally exported type, and prioritize the local type.
13 lines
589 B
Text
13 lines
589 B
Text
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
|
|
|
export * from "../../typeloader/incpath/local_helper_type.slint";
|
|
// ^warning{'SomeRect' is already exported in this file; it will not be re-exported}
|
|
|
|
export * from "../../typeloader/incpath/dependency_from_incpath.slint";
|
|
// ^error{re-exporting modules is only allowed once per file}
|
|
export * from "../../typeloader/incpath/dependency_from_incpath.slint";
|
|
// ^error{re-exporting modules is only allowed once per file}
|
|
|
|
|
|
export SomeRect := Rectangle {}
|