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
vyper Version (output of vyper --version): commit 4b4e188
Issue description
In VariableDecl.validate(), instead of calling the method self._pretty_location() to pretty-print the location of the given
variable, self._pretty_location is used.
In _CreateBase.build_IR, context.check_is_not_constant should be
called with an f-string and not a regular string to have self._id
as the id of the built-in in the error message.
Version Information
vyper --version
): commit 4b4e188Issue description
VariableDecl.validate()
, instead of calling the methodself._pretty_location()
to pretty-print the location of the givenvariable,
self._pretty_location
is used._CreateBase.build_IR
,context.check_is_not_constant
should becalled with an f-string and not a regular string to have
self._id
as the id of the built-in in the error message.
credits: @trocher
The text was updated successfully, but these errors were encountered: