-
-
Notifications
You must be signed in to change notification settings - Fork 887
compiler can emit empty error message hint #4313
Copy link
Copy link
Closed
Description
Version Information
- vyper Version (output of
vyper --version): 039d369
What's your issue about?
@external
def foo() -> uint256:
d: DynArray[uint256, 10] = [d]
return d[0]Error compiling: tests/custom/test4.vy
vyper.exceptions.UndeclaredDefinition: 'd' has not been declared.
contract "tests/custom/test4.vy:3", function "foo", line 3:32
2 def foo() -> uint256:
---> 3 d: DynArray[uint256, 10] = [d]
---------------------------------------^
4 return d[0]
(hint: )
see (hint: )
How can it be fixed?
Fill this in if you know how to fix it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug - UXa bug related to UXa bug related to UX