Need to refer to $self_
instead of $self
in ensures
#1276
Labels
lib
Lib-related issue (e.g. annotations lib)
$self_
instead of $self
in ensures
#1276
Open this code snippet in the playground
As in the example above, when using
fstar!
inside anensures
for a method inside a trait implementation, we need to refer to self as$self_
instead of$self
which is confusing. Note that this seems not to work at all for a non-trait impl.The text was updated successfully, but these errors were encountered: