There was an error fetching the commit references. Please try again later.
StgToByteCode: Fix overly-broad handling of Addr# literals
Previously we assumed that all unlifted types were `Addr#` but this isn't true. As noted in #25638, unlifted nullary data constructor workers can also appear at the top-level and are obviously not of type `Addr#`. Note that there is more work to be done to properly handle unlifted data constructors (especially nullary; see #25636). However, this is a small step in the right direction. Closes #25641.
Showing
- compiler/GHC/StgToByteCode.hs 1 addition, 3 deletionscompiler/GHC/StgToByteCode.hs
- testsuite/tests/codeGen/should_run/T23146/all.T 1 addition, 1 deletiontestsuite/tests/codeGen/should_run/T23146/all.T
- testsuite/tests/unlifted-datatypes/should_run/all.T 1 addition, 1 deletiontestsuite/tests/unlifted-datatypes/should_run/all.T
Loading
Please register or sign in to comment