github ponylang/ponyc 0.41.2

latest releases: 0.58.5, 0.58.4, 0.58.3...
3 years ago

Fix "iftype" expressions not being usable in lambdas or object literals

This release fixes an issue where the compiler would hit an assertion error when compiling programs that placed iftype expressions inside lambdas or object literals.

Fix code generation for variadic FFI functions on arm64

This release fixes an issue with code generation of variadic functions on arm64 architectures. The arm64 calling convention specifies that the named arguments of a variadic function (those arguments that are not optional) must be placed on registers, or on the stack if there are no available registers. Anonymous arguments (those that are optional) must always be placed on the stack. The Pony compiler would treat all variadic functions as if all their arguments were anonymous, thus placing every argument on the stack, even if there were available registers. This would cause issues on the C side of a variadic function, as programs would try and read from registers first, potentially finding uninitialized values.

[0.41.2] - 2021-06-29

Fixed

  • Fix "iftype" expressions not being usable in lambdas or object literals (PR #3763)
  • Fix code generation for variadic FFI functions on arm64 (PR #3768)

Don't miss a new ponyc release

NewReleases is sending notifications on new releases.