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

Fix style of literal creators #637

Merged
merged 5 commits into from
Jul 27, 2017
Merged

Conversation

chick
Copy link
Contributor

@chick chick commented Jun 29, 2017

Literal creators for UInt, SInt and Bool were declared with parens, but virtually all uses of these methods do not use parens. This is for issue #539.
This fix is an API breaking change. If anyone has used parens, e.g.
val x = 1.U()
This will now be an error

Literal creators for UInt, SInt and Bool were declared with parens, but
virtually all uses of these methods do not use parens.  This is for
issue #539.
This fix is an API breaking change. If anyone has used parens, e.g.
val x = 1.U()
This will now be an error
@chick chick requested a review from ducky64 June 29, 2017 18:25
Copy link
Contributor

@ducky64 ducky64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, this matches the recommended style.

@chick chick merged commit 91f20cc into master Jul 27, 2017
@ucbjrl ucbjrl deleted the remove-parens-from-literal-creators branch November 3, 2017 22:46
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.

4 participants