ponyc
ponyc copied to clipboard
Pony is an open-source, actor-model, capabilities-secure, high performance programming language
The compiler is inconsistent regarding how Array fields of an embedded class can be initalized using Array literals. The following compiles fine: ```pony class Foo embed _array: Array[I32] = []...
Target release date is the end of February 2024. Post release tasks: - [ ] Set Corral Arm64 MacOS jobs to use release rather than nightly `ponyc` - [ ]...
Once #3234 is merged, we should update the CMake build system to be able to build without `-pic` for performance reasons.
Prior to this change, any type named in a type constraint would get an implicit cap of `#any` if no explicit cap was named. The exception to this rule is...
I've been told multiple times that this looks like a compiler bug, and I agree, so I'm posting this here. The following code causes a segfault in the compiler: ```pony...
```pony class Foo new create(a: U32) ? => error actor Main new create(env: Env) => try let f = Foo(1)? end ``` Results in: ``` Terminator found in the middle...
In fixing a "more likely" error in recover code logic where non-sendable code was allowed to be used in a recover block (#4458), the straightforward fix introduced an issue where...
Instead cast at each use with the new type. One of the commits originally in #4331
One of the commits originally in #4331
In the following snippet, the compiler is able to prove `X^ ≤ A iso^` in the `reveal` function. However given the constraint, `X` can only be `A tag`. It seems...