Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: type object 'DArrayT' has no attribute 'typ' #4434

Open
cyberthirst opened this issue Jan 2, 2025 · 0 comments
Open

AttributeError: type object 'DArrayT' has no attribute 'typ' #4434

cyberthirst opened this issue Jan 2, 2025 · 0 comments
Labels
bug - typechecker issue with typechecker bug - UX a bug related to UX

Comments

@cyberthirst
Copy link
Collaborator

Version Information

  • vyper Version (output of vyper --version): 0.4.1b2+commit.5f04c0e22

What's your issue about?

was testing some ugly code and this crashes the compiler

MAX: constant(uint256) = DynArray[uint256, 10]
AttributeError: type object 'DArrayT' has no attribute 'typ'

During handling of the above exception, another exception occurred:

vyper.exceptions.CompilerPanic: unhandled exception type object 'DArrayT' has no attribute 'typ'

  contract "tests/custom/test.vy:1", line 1:0 
  ---> 1 MAX: constant(uint256) = DynArray[uint256, 10]
  -------^


This is an unhandled internal compiler error. Please create an issue on Github to notify the developers!
https://github.com/vyperlang/vyper/issues/new?template=bug.md
@cyberthirst cyberthirst added the needs triage needs triage label Jan 2, 2025
@charles-cooper charles-cooper added bug - UX a bug related to UX bug - typechecker issue with typechecker and removed needs triage needs triage labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - typechecker issue with typechecker bug - UX a bug related to UX
Projects
None yet
Development

No branches or pull requests

2 participants