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

Make Bundle abstract #774

Merged
merged 2 commits into from
Feb 20, 2018
Merged

Make Bundle abstract #774

merged 2 commits into from
Feb 20, 2018

Conversation

jackkoenig
Copy link
Contributor

@jackkoenig jackkoenig commented Feb 9, 2018

I'm not sure why it wasn't abstract.

The basic motivation is that autoclonetype doesn't work on instances of Bundle because it can't figure out what to do about the CompileOptions. It does however, work on new Bundle {} because it's an anonymous subclass with no constructor arguments. I'm really not sure why the UIntOps test didn't fail in #754. We could of course special case this and make it work, but I'm honestly not sure why Bundle isn't abstract?

  • Type of change

    • Bug report
    • Feature request
    • Other enhancement
  • Impact

    • no functional change
    • API addition (no impact on existing code)
    • API modification
  • Development Phase

    • proposal
    • implementation
  • Release Notes

Make Bundle abstract

@jackkoenig jackkoenig added this to the 3.1.0 milestone Feb 9, 2018
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.

huh odd that this wasn't the case before

@edwardcwang
Copy link
Contributor

Can we merge this?

@jackkoenig
Copy link
Contributor Author

Yep

@jackkoenig jackkoenig merged commit 853a88b into master Feb 20, 2018
ucbjrl added a commit to freechipsproject/chisel-testers that referenced this pull request Feb 22, 2018
Now that Bundle is an abstract class (chipsalliance/chisel#774), replace
a bare Bundle with a concrete one.
ucbjrl added a commit to freechipsproject/chisel-testers that referenced this pull request Feb 22, 2018
* Fix use of bare Bundle in MemPokeSpec.
Now that Bundle is an abstract class (chipsalliance/chisel#774), replace
a bare Bundle with a concrete one.

* Respond to comments - use minimal bare Bundle.
@jackkoenig jackkoenig deleted the abstract-bundle branch May 15, 2018 22:26
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