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:
James Westman 2023-04-10 09:38:56 -05:00
parent d6bd282e58
commit 02796fd830
10 changed files with 66 additions and 11 deletions

View file

@ -5,5 +5,5 @@ Overlay {
}
Label {
label: bind (label.parent) as (Overlay).child as (Label).label;
label: bind (label.parent) as <Overlay>.child as <Label>.label;
}