12.0.0-alpha.2
Pre-release
Pre-release
·
816 commits
to master
since this release
🚀 New Feature
- Allow coercing polyvariants to variants when we can guarantee that the runtime representation matches. #6981
- Add new dict literal syntax (
dict{"foo": "bar"}). #6774 - Optimize usage of the new dict literal syntax to emit an actual JS object literal. #6538
🐛 Bug Fix
- Fix issue where long layout break added a trailing comma in partial application
.... #6949 - Fix incorrect format of function under unary operator. #6953
- Fix incorrect printing of module binding with signature. #6963
- Fix incorrect printing of external with
@asattribute and_placholder (fixed argument). #6970 - Disallow spreading anything but regular variants inside of other variants. #6980
- Fix comment removed when function signature has
typekeyword. #6997 - Fix parse error on doc comment before "and" in type def. #7001
🏠 Internal
- Add dev container. #6962
- Convert more tests to the node test runner. #6956
- Remove attribute "internal.arity". #7004
- Remove dead modules. #7008
💅 Polish
- Improve formatting in the generated js code. #6932
}\ncatch{->} catch {for(let i = 0 ,i_finish = r.length; i < i_finish; ++i){->for (let i = 0, i_finish = r.length; i < i_finish; ++i) {while(true) {->while (true) {- Fixed tabulation for
switch casebodies - Fixed tabulation for
throw new Errorbodies - Removed empty line at the end of
switchstatement - Removed empty
defaultcase fromswitchstatement in the generated code
- Optimised the Type Extension runtime code and removed trailing
/1fromRE_EXN_ID. #6958 - Compact output for anonymous functions. #6945 #7013
- Rewatch 1.0.9. #7010