You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run roc build --lib --emit-llvm-ir --optimize crates/cli/tests/multiple_exposed/main.roc,
and open up the generated llvm ir, you can see that no -caller functions are generated.
Uncomment the type definition and run again. Everything generates as expected.
Expected behaviour: The functions are generated whether or not the type is specified.
Bonus: Can we get the functions to generate based on the record field name instead of just an index number
The text was updated successfully, but these errors were encountered:
modify
crates/cli/tests/multiple_exposed/platform/main.roc
to this:If you run
roc build --lib --emit-llvm-ir --optimize crates/cli/tests/multiple_exposed/main.roc
,and open up the generated llvm ir, you can see that no
-caller
functions are generated.Uncomment the type definition and run again. Everything generates as expected.
Expected behaviour: The functions are generated whether or not the type is specified.
Bonus: Can we get the functions to generate based on the record field name instead of just an index number
The text was updated successfully, but these errors were encountered: