Skip to content
Snippets Groups Projects
Commit 2b99fd86 authored by Joachim Breitner's avatar Joachim Breitner
Browse files

Drop the app invariant

let’s see what happens… fixes #20554.

Enforce Let-invariant in `simplLam`; testcase

Enforce the let-invariant in SimpleOpt

Use mightBeUnliftedType, not isUnliftedType

Like this? But I still get these errors

Implement some of Simon’s suggestions

This seems to be the right SimplEnv

In simplNonRecE, create StrictBind when let-invariant is not satisfied

because `simplLazyBind` assumes that invariant.

prepareRHS must not call makeTrivial when a case would be needed

Try to avoid exprType a bit (does not help, though)

Avoid exponential recursion in exprOkForSpeculation

More use of mightBeUnliftedType

else we get a panic

case-of-known-constructor: Float unlifted arguments

Teach DmdAnal about unlifted arguments (H/T Sebastian G)

Update test output (mostly strictness signatures)
parent 6cea7311
No related branches found
No related tags found
No related merge requests found
Pipeline #45292 canceled
Showing
with 179 additions and 143 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment