SAWScript: Record lookup on non-record argument
error, when function parameter is not explicitly annotated with record type
#1995
Labels
topics: error-messages
Issues involving the messages SAW produces on error
type: bug
Issues reporting bugs or unexpected/unwanted behavior
Milestone
It seems like SAW is unable to infer the type of
r
when it is not explicitly annotated. But even with this limitation, the error message is confusing, since it is claiming thatr
is not a record when really it doesn't know whatr
is. We should either improve type inference or at least change the error message.This works in Cryptol:
The text was updated successfully, but these errors were encountered: