summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Lawson2017-11-06 09:34:41 -0800
committerGitHub2017-11-06 09:34:41 -0800
commit734c52038f4f2bf1fb379ee2c8438cd98fb7506d (patch)
tree4d380386162f64e55ec41a64f71c0b51c8f23ccb
parent7e6e7efb649a1dec5d708e4a9d191dd759c12380 (diff)
Default to unidoc for scaladoc generation. (#715)
Disambiguate DontCare reference in initializeSingletons() avoiding compilation error during unidoc generation.
-rw-r--r--Makefile2
-rw-r--r--chiselFrontend/src/main/scala/chisel3/internal/Builder.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e8d1f613..53740363 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ ifneq (,$(RM_DIRS))
endif
scaladoc:
- $(SBT) $(SBT_FLAGS) doc
+ $(SBT) $(SBT_FLAGS) unidoc
site:
$(SBT) $(SBT_FLAGS) make-site
diff --git a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala
index 90eabba3..0b279347 100644
--- a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala
+++ b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala
@@ -166,7 +166,7 @@ private[chisel3] object Builder {
// Initialize any singleton objects before user code inadvertently inherits them.
private def initializeSingletons(): Unit = {
- val dummy = DontCare
+ val dummy = core.DontCare
}
def idGen: IdGen = dynamicContext.idGen
def globalNamespace: Namespace = dynamicContext.globalNamespace