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
Ok, it seems like the problem is that eval_bool doesn't perform defaulting on its Term argument, while other functions like print apparently do. I'll look into it.
sawscript> print {{ zero == zero }}
[03:46:48.104] Assuming a = Integer
[03:46:48.105] True
sawscript> eval_bool {{ zero == zero }}
saw: Stack trace:
"eval_bool" (<stdin>:1:1-1:10):
eval_bool: not type Bit
At this point the REPL exits.
brianhuffman
changed the title
Type Parameter Inconsistency
type defaulting for eval_boolMay 7, 2021
Consider an attempt to validate a file's MD5 checksum:
Consider the Cryptol definition of
MD5::md5
:I deduced that
b
must be the parameter SAW assumes is140
:Is there any way to instruct SAW to just trust its assumptions for
Term
evaluation? Would it be possible to consistently label the assumed parameters?The text was updated successfully, but these errors were encountered: