diff options
Diffstat (limited to 'coreMacros/src/main')
5 files changed, 4 insertions, 7 deletions
diff --git a/coreMacros/src/main/scala/chisel3/SourceInfoDoc.scala b/coreMacros/src/main/scala/chisel3/SourceInfoDoc.scala index 4b6b0a8c..c44da915 100644 --- a/coreMacros/src/main/scala/chisel3/SourceInfoDoc.scala +++ b/coreMacros/src/main/scala/chisel3/SourceInfoDoc.scala @@ -23,7 +23,7 @@ package chisel3 * <br> * <br> * - * These `do_X` methods are used to enable both implicit passing of SourceInfo and [[chisel3.core.CompileOptions]] + * These `do_X` methods are used to enable both implicit passing of SourceInfo and [[chisel3.CompileOptions]] * while also supporting chained apply methods. In effect all "normal" methods that you, as a user, will use in your * designs, are converted to their "hidden", `do_*`, via macro transformations. Without using macros here, only one * of the above wanted behaviors is allowed (implicit passing and chained applies)---the compiler interprets a diff --git a/coreMacros/src/main/scala/chisel3/internal/RangeTransform.scala b/coreMacros/src/main/scala/chisel3/internal/RangeTransform.scala index 4977899a..e61ddc6a 100644 --- a/coreMacros/src/main/scala/chisel3/internal/RangeTransform.scala +++ b/coreMacros/src/main/scala/chisel3/internal/RangeTransform.scala @@ -7,7 +7,6 @@ package chisel3.internal import scala.language.experimental.macros import scala.reflect.macros.blackbox.Context -import scala.reflect.macros.whitebox // Workaround for https://github.com/sbt/sbt/issues/3966 object RangeTransform diff --git a/coreMacros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala b/coreMacros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala index 1ba41a6d..e1f528b3 100644 --- a/coreMacros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala +++ b/coreMacros/src/main/scala/chisel3/internal/RuntimeDeprecationTransform.scala @@ -3,9 +3,8 @@ package chisel3.internal import scala.reflect.macros.whitebox.Context +import scala.annotation.{StaticAnnotation, compileTimeOnly} import scala.language.experimental.macros -import scala.annotation.StaticAnnotation -import scala.annotation.compileTimeOnly // Workaround for https://github.com/sbt/sbt/issues/3966 object RuntimeDeprecatedTransform diff --git a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/NamingAnnotations.scala b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/NamingAnnotations.scala index a1b279c7..b4c79ac5 100644 --- a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/NamingAnnotations.scala +++ b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/NamingAnnotations.scala @@ -13,9 +13,8 @@ package chisel3.internal.naming import scala.reflect.macros.whitebox.Context +import scala.annotation.{StaticAnnotation, compileTimeOnly} import scala.language.experimental.macros -import scala.annotation.StaticAnnotation -import scala.annotation.compileTimeOnly // Workaround for https://github.com/sbt/sbt/issues/3966 object DebugTransforms diff --git a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala index 48036ce7..e69c569a 100644 --- a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala +++ b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala @@ -24,7 +24,7 @@ trait SourceInfoTransformMacro { import c.universe._ def thisObj: Tree = c.prefix.tree def implicitSourceInfo = q"implicitly[_root_.chisel3.internal.sourceinfo.SourceInfo]" - def implicitCompileOptions = q"implicitly[_root_.chisel3.core.CompileOptions]" + def implicitCompileOptions = q"implicitly[_root_.chisel3.CompileOptions]" } // Workaround for https://github.com/sbt/sbt/issues/3966 |
