summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/core/Module.scala
diff options
context:
space:
mode:
authorRichard Lin2018-03-23 13:17:40 -0700
committerGitHub2018-03-23 13:17:40 -0700
commita86e38889302662db14b932e4e0d862290c01308 (patch)
tree9358bb719c7331b5e9a8bd4ec85b423a8f976b59 /chiselFrontend/src/main/scala/chisel3/core/Module.scala
parentf3a39aff35879f1959786b1178ec2ffe96164a35 (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 'chiselFrontend/src/main/scala/chisel3/core/Module.scala')
0 files changed, 0 insertions, 0 deletions