diff options
| author | Richard Lin | 2018-03-23 13:17:40 -0700 |
|---|---|---|
| committer | GitHub | 2018-03-23 13:17:40 -0700 |
| commit | a86e38889302662db14b932e4e0d862290c01308 (patch) | |
| tree | 9358bb719c7331b5e9a8bd4ec85b423a8f976b59 /src/test/scala/chiselTests/Module.scala | |
| parent | f3a39aff35879f1959786b1178ec2ffe96164a35 (diff) | |
Fallback null insertion for autoclonetype (#801)
If autoclonetype is unable to determine an outer class, this attempts to insert a null (and give a deprecation warning), preserving old behavior (in some cases) where the new behavior doesn't work.
This doesn't provide full compatibility with old autoclonetype: this does not attempt null insertion in the general first argument (if it's not an outer class reference). Reasoning is that inserting a null for an explicit argument is probably not the right thing to do, and will likely cause a difficult-to-debug NullPointerException (whereas that would be unlikely for an outer class, which is not always referenced in Bundle subclass code).
Diffstat (limited to 'src/test/scala/chiselTests/Module.scala')
0 files changed, 0 insertions, 0 deletions
