slint/internal/compiler/passes
Olivier Goffart 60e7d54e67 Compiler better test coverage in case of error and fix panics
The compile_syntax_node was used by the syntax_test in case of error
to still cover the coverage, but commit e3908cfce6
made this function a noop when there is an error already.

The LSP does try to build an object tree even though there are error in
order to have the most information even in that case, so we must ensure
that it doesn't panic left and right.

This commit also fix some of these panics.
2024-06-11 19:22:59 +02:00
..
apply_default_properties_from_style.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
binding_analysis.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
border_radius.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
check_expressions.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
check_public_api.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
check_rotation.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
clip.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
collect_custom_fonts.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
collect_globals.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
collect_init_code.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
collect_structs_and_enums.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
collect_subcomponents.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
compile_paths.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
const_propagation.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
deduplicate_property_read.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
default_geometry.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
embed_glyphs.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
embed_images.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
ensure_window.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
flickable.rs Add a warning if a PopupWindow is in a layout 2024-06-04 13:31:36 +02:00
focus_handling.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
generate_item_indices.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
infer_aliases_types.rs Compiler better test coverage in case of error and fix panics 2024-06-11 19:22:59 +02:00
inlining.rs Fix inlining of PopupWindow 2024-06-10 22:18:06 +02:00
lower_absolute_coordinates.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_accessibility.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_component_container.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_layout.rs WIP: Search by qualified element id 2024-06-05 01:29:58 -07:00
lower_popups.rs Add a warning if a PopupWindow is in a layout 2024-06-04 13:31:36 +02:00
lower_property_to_element.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_shadows.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_states.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_tabwidget.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lower_text_input_interface.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
materialize_fake_properties.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
move_declarations.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
optimize_useless_rectangles.rs Add support for optimized rectangles in ElementHandle 2024-06-05 01:29:58 -07:00
purity_check.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
remove_aliases.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
remove_return.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
remove_unused_properties.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
repeater_component.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
resolve_native_classes.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
resolving.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
unique_id.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
visible.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
z_order.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00