1
0

CloneModule: must be public to be used in pattern matches

This commit is contained in:
Wesley W. Terpstra 2017-12-08 14:57:08 -08:00
parent 2ca03384ec
commit efc793d52e

View File

@ -20,7 +20,7 @@ class ClonePorts protected[shim](elts: Data*) extends Record
override def cloneType = (new ClonePorts(elts: _*)).asInstanceOf[this.type] override def cloneType = (new ClonePorts(elts: _*)).asInstanceOf[this.type]
} }
private class CloneModule private (model: RawModule) extends BlackBox class CloneModule private (model: RawModule) extends BlackBox
{ {
import CloneModule._ import CloneModule._
override def desiredName = model.name override def desiredName = model.name