slint/internal/compiler/tests/syntax
U. Bruhin a5ec77ac99
Allow trailing comma in import statements (#8223)
Adding support for (optional) trailing commas like this:

    import {
        Foo,
        Bar,
    } from "foobar.slint";

This way it's more convenient to keep component imports sorted and
leads to smaller diffs when adding more components to the end of the
import statement.

ChangeLog: Allow trailing comma in import statements

Closes #4922
2025-04-21 17:24:18 +02:00
..
accessibility Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
analysis Revert "compiler: inline components that are used only once" (#7697) 2025-02-21 19:11:11 +01:00
basic diagnostic: try to detect use of range expression and recommand to use number 2025-04-19 22:47:45 +02:00
callbacks Fix error messages with invalid change callback 2024-06-28 10:45:45 +02:00
elements Introduce MenuSeparator 2025-04-02 11:50:45 +02:00
exports Add export { ... } from "....slint"; syntax. (#5533) 2024-07-03 12:50:40 +02:00
expressions Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
focus Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
functions Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
fuzzing Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
imports Allow trailing comma in import statements (#8223) 2025-04-21 17:24:18 +02:00
layout Compiler: Change a new error from 1.9 to a warning 2024-12-06 23:04:26 +01:00
lookup Move Palette.style-name to internal protected StyleMetrics.style-name (#8200) 2025-04-19 10:20:52 +02:00
new_syntax Fix panic in legacy component with out property 2024-12-16 13:58:56 +01:00
parse_error Improve a bit the error when the base of an element is missing 2025-01-06 10:47:05 +01:00