Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Make some usages of suggestName runtime deprecated #2556
base: main
Are you sure you want to change the base?
Make some usages of suggestName runtime deprecated #2556
Changes from 15 commits
b6addc7
08543f3
236a4fd
eaedd38
87f0e41
f0d2499
a175c1d
aceaae4
3918123
dbb9078
cd07ede
a0d145d
a8b296f
412a8d1
bbc0d0a
d7a1782
898ae25
5f25d90
5a11980
0075c25
7b84a38
db9152f
7cf0c42
ce18389
7158448
e60b9bd
9772b29
67ce7d8
fa28909
47d88ce
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should also be a deprecation rather than error (for purposes of backporting to 3.5.x). It currently just silently does nothing: https://scastie.scala-lang.org/nfiyNDBaSJWx4GKY4cxxOg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, i thought I had a unit test for this error case so I am surprised it silently does nothing: https://github.com/chipsalliance/chisel3/pull/2556/files#diff-9155256ee3cccc6b7e3ad38ee0a25473c9fd3296beb5bc9f1f59cb658522db50R52
this case says it does do something, at least in my case...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I will make it a deprecation error, but still confused about why you say it silently does nothing given the test for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, by currently I mean in Chisel 3.5.3 it does nothing (see my Scastie). I'm saying it should be a warning in 3.5.4 and an error in 3.6.0.