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

'NoneType' object has no attribute 'kind' #195

Open
dpln opened this issue Feb 24, 2024 · 0 comments
Open

'NoneType' object has no attribute 'kind' #195

dpln opened this issue Feb 24, 2024 · 0 comments

Comments

@dpln
Copy link

dpln commented Feb 24, 2024

Describe the bug/issue
Pyslint is showing below error :
AttributeError: 'NoneType' object has no attribute 'kind'

To Reproduce
Steps to reproduce the behavior:

  1. python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_195_f.sv

Add sample log below
File "/home/dpln/proj/pysl/exec_dir/../py_src/pyslint.py", line 1292, in
REUSE_NO_WILDC_AA_CL(scope_i)
File "/home/dpln/proj/pysl/exec_dir/../py_src/pyslint.py", line 382, in REUSE_NO_WILDC_AA_CL
if (lv_decl_dim_i.specifier.kind.name == 'WildcardDimensionSpecifier'):
AttributeError: 'NoneType' object has no attribute 'kind'

Expected behavior
Expected to run without the above error.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant