casepattern matching expresssion now uses bars (
|) to separate case branches. The older syntax (
;to terminate each branch) is still supported by the parser and will not lead to compile-time warnings.
Incompatible change: deltas now share a namespace with modules. Defining a delta with the same name as a module results in a compile-time error.
Incompatible change: the plain export clause
export Name;will only export
Nameis defined in the current module; use
export Name from OtherModule;to re-export
OtherModule. This mirrors the behavior of
export * from OtherModule;.
Future incompatible change: the pattern matching statement now uses the keyword
case. The pattern matching expression uses
caseas before. Using the old syntax emits a compile-time warning.
Future incompatible change: The conditional expression now uses the keyword
if. The conditional statement uses
ifas before. Using the old syntax emits a compile-time warning.
usesclauses in a delta now cause a compilation failure. The parser used to accept deltas with more than one
usesclause, but all clauses except the first were silently ignored.
It is now possible to use qualified names in
addsmodule modifier clauses in deltas.
The error message when using a simple name in a modifier clause in a delta without a
usesclause has been clarified.