mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Improve expression type checking
This commit is contained in:
parent
b636d9ed71
commit
98ba7d467a
11 changed files with 160 additions and 55 deletions
7
tests/sample_errors/expr_cast_needed.blp
Normal file
7
tests/sample_errors/expr_cast_needed.blp
Normal file
|
@ -0,0 +1,7 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
template GtkListItem {
|
||||
Label {
|
||||
label: bind GtkListItem.item.label;
|
||||
}
|
||||
}
|
1
tests/sample_errors/expr_cast_needed.err
Normal file
1
tests/sample_errors/expr_cast_needed.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,34,5,Could not determine the type of the preceding expression
|
Loading…
Add table
Add a link
Reference in a new issue