-
Hi
The (admittedly nonsense) code below triggers an assertion failure in ponyc:
```pony
use "collections"
type MyMap is MapIs[String, Array[String]]
class C
let _m: MyMap
new crea…
-
Compiling this:
```
actor Main
new create(env: Env) =>
try let …
-
Minimal case:
```pony
fun flatten[A: Array[Array[A]] #read](arrayin: Array[Array[A]]): Array[A] =>
let rv: Array[A] = Array[A]
for f in arrayin.values() do
for g in f.values() do
…
-
[Moving this from the ponyc repo issues](https://github.com/ponylang/ponyc/issues/617).
We need a RFC that proposes a way to embed string literals inside of string literals. This would allow docstrin…
-
The following program causes the compiler to recurse infinitely, until it overflows its stack and segfaults. Using a union type `(X | N iso)` compiles fine.
```pony
trait N
class A[Y: (X & N iso)…
-
The following code causes a compiler error on ponyc 0.35.1-57947572
```pony
actor Main
new create(env: Env) =>
Herp~create(where env=env)(Derp)
actor Herp
new create(derp: Derp, env:…
-
## Environment
OS: MacOS 10.13.6
Ponyc: 0.25.0-232a0abe1 [release]
compiled with: llvm 3.9.1 -- Apple LLVM version 9.1.0 (clang-902.0.39.2)
Defaults: pic=false ssl=openssl_0.9.0
## Descript…
-
I've run into an asserton failure using iftype with Any.
Here's an example of the code that triggered this compiler bug:
```pony
use mut = "collections"
use coll = "collections/persistent"
…
-
This was originally opened as [issue 139](https://github.com/ponylang/ponyc/issues/139) on the ponyc repo:
There is a detailed list of requirements and some discussion.
-
The following minimal program causes an assert failure in `gen_box` on latest ponyc master:
```pony
type Foo is (Any box | (Any box, Any box))
actor Main
new create(env: Env) =>
this(Ar…