slint/internal/compiler/tests/syntax/imports/invalid_export.slint
Tobias Hunger 4230ac2572
Update copyright information to reflect name change
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00

15 lines
420 B
Text

// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
export { Foo as Bar }
// ^error{'Foo' not found}
export { Image as Plop }
// ^error{Cannot export 'Image' because it is not a component}
export { string as Boob }
// ^error{Cannot export 'string' because it is not a component}
Hello := Plop {
// ^error{Unknown type Plop}
}