Skip to content

Jacket 0.21.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Oct 20:57
· 39 commits to main since this release
v0.21.0
6e64bf2

New

  • Two new lints: constant_condition (a condition that is always true or false) and string_literal_write (writing into a string literal).
  • Inlay hints for it and it_index in for loops.
  • Code after a call that never returns is faded as unreachable.
  • jaifmt --version and jaifmt --is-ignored.
  • -timings shows memory allocated per phase.

Improved

  • Rename in the editor is more complete (overloads, polymorphic parameters, loop variables and more) and refuses names it can't find.
  • Hover and go-to-definition work in more places, including code not checked yet and module aliases.

Fixed

  • Release archives were missing native libraries, most visibly on Windows (#13).
  • Writing into a string literal at compile time is now an error instead of silently changing the literal everywhere (#14).
  • Multisampled OpenGL windows on Windows (#15).
  • String.tprint and other Basic procedures through String (#16).
  • jacket run runs the executable the build actually produced.
  • Several error messages point at the right place, and a few invalid programs the reference compiler rejects are now rejected too.
  • An editor hang on structs that refer to #this.