From 375e2b6a0a456c55298d82837d28986de6211ebc Mon Sep 17 00:00:00 2001 From: Richard Lin Date: Wed, 15 Feb 2017 14:19:36 -0800 Subject: Implement asTypeOf, refactor internal APIs (#450) --- .../main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreMacros/src') diff --git a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala index ab4cf8fb..63d068c3 100644 --- a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala +++ b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala @@ -69,7 +69,7 @@ class MuxTransform(val c: Context) extends SourceInfoTransformMacro { import c.universe._ def apply[T: c.WeakTypeTag](cond: c.Tree, con: c.Tree, alt: c.Tree): c.Tree = { val tpe = weakTypeOf[T] - q"$thisObj.do_apply[$tpe]($cond, $con, $alt)($implicitSourceInfo)" + q"$thisObj.do_apply[$tpe]($cond, $con, $alt)($implicitSourceInfo, $implicitCompileOptions)" } } -- cgit v1.2.3