Jonathan Lindegaard Starup

Results 159 issues of Jonathan Lindegaard Starup

In the typer we allow `Int -> Int ~ java.util.function.IntUnaryOperator` fx. This is only sound from left to right, and will cause runtime crashes from right to left. This is...

bug
A: typing

We evaluate formulas via the smart constructors, but we don't normalize `IO + Crash` or `Crash + IO`. Leading to duplicate monomorphizations

bug
A: monomophization

Right now we erase free bool type variables to `AnyType` and do not require ground formulas. is this a problem @mlutze? shouldn't we just handle them to avoid a pothole...

bug
A: monomophization

```scala // Surface let c = 42; def f(x, y) = f(x, y + c); f(2) ``` ```scala // Resolver let c = 42; def f(x, y) = f(x, y...

# To Do - Practical - [x] Add compiler flag to enable Verifier #7419 - [x] Run verify by default #7437 - [x] Crash instead of print #7439 - [...

In monomorpher, if we find an unconstrained effect variable `x`, we replace it with `Pure`. This is sound and fine. The potential issue is that if the overall type is...

problem
A: monomophization

Follow up from #8719 Enums hold `sym`, `tparams`, and a `tpe` (and other things not relevant here). Some examples: - `enum Option[t] { .. }`, `sym = Option`, `tparams =...

student programmer
low priority