bad error message in get-* functions
#6
Closed
opened 6 years ago by odanoburu
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
from my understanding, the
define+provide+safe
macro should be exportingget-tag
with a contract that would raise an error blaming my call toget-tag
not the hidden call tocar
. am I doing something wrong? or is this a bug in thesugar
library? if so, the only way I know of fixing this is by using regular constructs likedefine/contract
, hence the absence of an accompanying PR!To get the contract you have to import via the
safe
submodule:Result:
ah, that's interesting! sorry for the noise.