summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Lin2016-12-15 12:01:32 -0800
committerGitHub2016-12-15 12:01:32 -0800
commit0233f704e83d380b1fe8311dfffa3f44f74b506b (patch)
treefd24252c55e9980c2c3c3bb2777b7ff8979e7cc9
parent59a7c25d5c708305216532ec49c8120e59219f69 (diff)
Can The Spam: disable reflective call warnings on tests (#415)
-rw-r--r--build.sbt1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index f9b7c36d..90004d2d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -126,6 +126,7 @@ lazy val chisel = (project in file(".")).
dependsOn(coreMacros % "compile-internal;test-internal").
dependsOn(chiselFrontend % "compile-internal;test-internal").
settings(
+ scalacOptions in Test ++= Seq("-language:reflectiveCalls"),
aggregate in doc := false,
// Include macro classes, resources, and sources main JAR.
mappings in (Compile, packageBin) <++= mappings in (coreMacros, Compile, packageBin),