-
Notifications
You must be signed in to change notification settings - Fork 116
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
Type parameter handling bug? #362
Comments
I think the root cause is because Adding any line that constructs |
I am pretty sure the larger program instantiates all its types, though, but I will attempt to check. |
Should be fixed by #363 |
That fixes something, but my full program is still throwing the same unpleasant result. Lemme minimize it again. |
Could try using |
TIL. If it helps:
|
I'm not sure how that find would fail, so a minimized example would be useful. |
Sorry, meetings. Not quite minimized, but pretty small:
Replacing |
Thanks, I think this should be fixed by #364 I think this was triggered by some recent optimisations to avoid copying definitions during monomorphisation, so I've put my opam release on hold for now. |
That looks to have done it; thanks! |
CHANGES: Updated 0.17 release with bugfixes for: * Issue 362 rems-project/sail#362 Additionally includes patches for better ASL to Sail compatibility
CHANGES: Updated 0.17 release with bugfixes for: * Issue 362 rems-project/sail#362 Additionally includes patches for better ASL to Sail compatibility
Compiling
with f9db302 (and so probably the just-cut 0.17 release, I'm sorry) causes
sail
to die an inglorious death, croaking outFatal error: exception Not_found
and leaving behind an empty output file.Confusingly, this is a minimized version of a much larger sail program that has been accepted without complaint in the past, so I am not sure what the actual preconditions for tripping over this are. This particular input seems fatal to the
0.15
and0.16
installations I have handy, though.Replacing the
type V
definition withtype V = unit
seems to result in successful compilation, so it seems like it's something to do with the fact thatU
is parametric?The text was updated successfully, but these errors were encountered: