Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unboxed tuples caused by -funbox-strict-fields #46

Open
zliu41 opened this issue Apr 15, 2022 · 2 comments
Open

Handle unboxed tuples caused by -funbox-strict-fields #46

zliu41 opened this issue Apr 15, 2022 · 2 comments

Comments

@zliu41
Copy link
Member

zliu41 commented Apr 15, 2022

Handle unboxed tuples caused by -funbox-strict-fields

(Extricated from https://kitty-hawk.atlassian.net/browse/SW-3652)

@sellout
Copy link
Member

sellout commented Apr 15, 2022

Should we mention this in the README, and perhaps set -fno-unbox-strict-fields in the DynFlagsPlugin (assuming I ever get around to adding it).

@zliu41
Copy link
Member Author

zliu41 commented Apr 15, 2022

Yeah, I can add it to the README when I get around to finding a suitable example. The one we encountered is

Linear.V3.$wcross :: forall a. Num a => a -> a -> a -> a -> a -> a -> (# a, a, a #)

And of course there's no HasRep (# C Double, C Double, C Double #).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants