summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/CompileOptions.scala
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/scala/chisel3/CompileOptions.scala')
-rw-r--r--core/src/main/scala/chisel3/CompileOptions.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/chisel3/CompileOptions.scala b/core/src/main/scala/chisel3/CompileOptions.scala
index f74d8fff..cdc05392 100644
--- a/core/src/main/scala/chisel3/CompileOptions.scala
+++ b/core/src/main/scala/chisel3/CompileOptions.scala
@@ -63,7 +63,7 @@ object ExplicitCompileOptions {
// Collection of "not strict" connection compile options.
// These provide compatibility with existing code.
- implicit val NotStrict = new CompileOptionsClass(
+ implicit val NotStrict: CompileOptionsClass = new CompileOptionsClass(
connectFieldsMustMatch = false,
declaredTypeMustBeUnbound = false,
dontTryConnectionsSwapped = false,
@@ -97,7 +97,7 @@ object ExplicitCompileOptions {
}
// Collection of "strict" connection compile options, preferred for new code.
- implicit val Strict = new CompileOptionsClass(
+ implicit val Strict: CompileOptionsClass = new CompileOptionsClass(
connectFieldsMustMatch = true,
declaredTypeMustBeUnbound = true,
dontTryConnectionsSwapped = true,