Skip to content

Juniper 4.0.1

Latest
Compare
Choose a tag to compare
@calebh calebh released this 16 Nov 04:23

Bugfixes and changes:

  • Top level global variables are now forward declared with the extern keyword in compiled C++. This is a partial fix for the ordering of global variables.
  • Critical bug fix for the Prelude:zeros() function. Zeros now initializes values without calling C++ destructors.
  • Fixed compiler bug where types were not being properly resolved and aliases not being properly expanded.
  • Added missing zero arity constructors for tuple types. This allow for arrays of uninitialized tuple types to be created.
  • Changed order of parameters in Io.jun edge transition functions and Button.jun debouncing functions so that the incoming signal is the last argument. This enables better use of the pipe operator with these functions.
  • Fixed compiler output bug related to escaped characters.
  • Compiler no longer allows capacity and type variables to have the same names. This fixes a compilation bug.
  • Fixed issue with closure capture related to function parameters shadowing outer variables with the same name.