slint/internal/compiler/tests/syntax/imports
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
..
bug_2719.slint Avid reporting further error when an element is misspelled 2024-08-29 13:10:35 +02:00
bug_3674_alias-from-broken-import.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
cyclic_import.slint Avid reporting further error when an element is misspelled 2024-08-29 13:10:35 +02:00
error_in_import.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
error_in_import2.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
error_in_import3.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
font.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_builtin.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_error2.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_errors.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_parse_error1.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_parse_error2.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_parse_error3.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_parse_error4.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_parse_error5.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
import_parse_error6.slint Allow trailing comma in import statements (#8223) 2025-04-21 17:24:18 +02:00
import_parse_error7.slint Allow trailing comma in import statements (#8223) 2025-04-21 17:24:18 +02:00
invalid_export.slint Avid reporting further error when an element is misspelled 2024-08-29 13:10:35 +02:00
just_import.slint Add test for deprecated import 2024-07-03 16:44:31 +02:00
visibility_errors.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00