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
Save the code above as test.vy and run vyper test.vy to reproduce the issue.
What was the result of the issue
The program failed to compile.
What the expected behaviour is
It is expected to compile successfully.
Temporary Fix
I stored self.indexToThing[_index].name in a variable and then used the variable as the key for self.NameToStatus instead of directly using self.indexToThing[_index].name
Working code:
Version Information
vyper --version
): 0.2.7python --version
): 3.6.8What's your issue about?
Full Error:
vyper test.vy
Detailed steps to reproduce the issue
Save the code above as test.vy and run
vyper test.vy
to reproduce the issue.What was the result of the issue
The program failed to compile.
What the expected behaviour is
It is expected to compile successfully.
Temporary Fix
I stored
self.indexToThing[_index].name
in a variable and then used the variable as the key for self.NameToStatus instead of directly usingself.indexToThing[_index].name
Working code:
The text was updated successfully, but these errors were encountered: