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
I think the reason for the failure is that function matchArg in module Crucible.LLVM.Override doesn't have a case where the expected value (the last argument) is a SetupElem. I believe it's hitting the catch-all error case, which calls mkStructuralMismatch, which in turn fails when it calls resolveSetupValue while it's trying to pretty-print a nice error message.
To fix this (and potential related problems), I think we just need to add more cases to matchArg: we need to handle expected values with SetupElem and SetupField; we should also implement SetupArray while we're at it (this last one should be very similar to SetupStruct which is implemented).
This same sort of thing works fine with a function/spec that returns a pointer to the base of an allocation.
The text was updated successfully, but these errors were encountered: