-
Notifications
You must be signed in to change notification settings - Fork 63
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
Attempted to register the following name twice: cryptol: #1892
Comments
Thanks for reporting this. The issue is very likely to do with |
@weaversa We have tried a bit and haven't been able to reproduce this bug yet. Is there any way you can point us in the right direction for finding it? |
I believe I've figured out a minimal example. Given this Cryptol file:
And this SAWScript file:
Then you can load
But loading
|
This might be related to GaloisInc/cryptol#1556 (or might not be, haven't really looked into it from the SAW side) |
Actually, it appears that the bug is still present when running with the cryptol fix in GaloisInc/cryptol#1559, so my guess is that the bug is in how SAW is handling Cryptol names and not in Cryptol itself. |
@yav
I have a Cryptol file that uses parameterized modules. When I load it w/ Cryptol 2.13 and 3.0.0 I get no errors with either version. When I load it with SAW 1.0 I get the message "Attempted to register the following name twice: cryptol:" and then the path and name of a function.
Sorry I don't have an example to share atm.
The text was updated successfully, but these errors were encountered: