This new version of Jadescript includes:
aid
values now support relational comparisons (e.g.,<
<=
>
>=
) based on the case-insensitive lexicographic ordering of their GUIDs;- list, map and set literals now support the pipe (
|
) operator to prepend elements, mirroring the behaviour of their pattern counterparts; - the
matches
expression, when used in the condition of anif
or of awhile
statement, is now able to deconstruct values into variables via pattern matching (the unified variables are accessible from the body of the statement, using the same flow-sensitive-semantics used for event handler headers and when expressions); - performance improvements on resolutions of variables/properties and function/procedures/constructors;
- a validation rule that checks that all the named arguments in a call expression match with corresponding resolved parameter names;
- other bugfixes and performance improvements.