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

Specific error message for missing module return from 'elaborate'. #164

Closed
wants to merge 1 commit into from
Closed

Conversation

ret
Copy link
Contributor

@ret ret commented Aug 2, 2019

As a beginner I made this mistake a few times when I was commenting things in and out from my 'elaborate' functions. I forgot to return a module from 'elaborate' leading to 'AttributeError: Object 'None' cannot be elaborated.', which threw me off initially. Perhaps this can help other beginners to locate the problem quickly.

@codecov
Copy link

codecov bot commented Aug 2, 2019

Codecov Report

Merging #164 into master will decrease coverage by 0.03%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
- Coverage   80.74%   80.71%   -0.04%     
==========================================
  Files          32       32              
  Lines        5241     5243       +2     
  Branches     1135     1136       +1     
==========================================
  Hits         4232     4232              
- Misses        873      874       +1     
- Partials      136      137       +1
Impacted Files Coverage Δ
nmigen/hdl/ir.py 93.88% <33.33%> (-0.51%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 995e4ad...13d8cf0. Read the comment docs.

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

Successfully merging this pull request may close these issues.

None yet

1 participant