Skip to content

0.39.1

Compare
Choose a tag to compare
@ponylang-main ponylang-main released this 29 Mar 17:45
· 1210 commits to main since this release

Fix compiler crash related to type parameter references

Previously, if a method signature in a trait or interface referenced a type
parameter before the type parameter itself was defined, the compiler would
crash. This is now fixed.

Fix early pipe shutdown with Windows' ProcessMonitor

Due to incorrect handling of a Windows pipe return value, the ProcessMonitor would sometimes shut down its pipe connections to external processes before it should have.

Fix literal inference with partial functions

Before this change, code such as 1~add(2) would hit an assertion error when the compiler tried to infer the type of the literal 2. The compiler tries to find the type of the receiver of the function (in this case 1), but before it lacked the ability to do so when using partial functions. In those cases, the compiler would try to look at the type of the ~ token, which is not a valid value literal, and as such it would fail.

[0.39.1] - 2021-03-29

Fixed

  • Fix compiler crash related to type parameter references (PR #3725)
  • Fix early pipe shutdown with Windows ProcessMonitor (PR #3726)
  • Fix literal inference through partial function (PR #3729)