Closed mneumann closed 1 year ago
This is a fairly simple issue with a missing pointer load.
Can you show me the Savi code for MQTT.Message.Connect.new
and MQTT.Message.Connect.protocol_name
?
Seeing those should help me reproduce and fix the issue.
It happens when I savi run spec
this repo:
This bug happens when you have a :struct
whose :let
fields have an initializer expression (e.g. :let foo String: "foo"
).
It's missing an LLVM load
to translate the constructor's pointer to a value type.
While waiting for me to fix this issue, one work-around would be to assign to the field in the constructor's body instead of using a field initializer expression.
However, I should be able to fix this quickly.
Compilation Error:
example.ll.txt