mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
Use <> instead of () for casts & typeof
This makes it clearer that they aren't functions, and it eliminates syntactic ambiguity with closure expressions.
This commit is contained in:
parent
d6bd282e58
commit
02796fd830
10 changed files with 66 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
template MyTemplate : Box {
|
||||
prop1: bind MyTemplate.prop2 as ($MyObject).prop3;
|
||||
prop1: bind MyTemplate.prop2 as <$MyObject>.prop3;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue