Created
July 6, 2015 13:21
-
-
Save xeno-by/d113ea78dfb7ee38ad6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/compiler/scala/tools/nsc/typechecker/Macros.scala b/src/compiler/scala/tools/nsc/typechecker/Macros.scala | |
index 10aefae20b..1d09551244 100644 | |
--- a/src/compiler/scala/tools/nsc/typechecker/Macros.scala | |
+++ b/src/compiler/scala/tools/nsc/typechecker/Macros.scala | |
@@ -471,7 +471,7 @@ trait Macros extends MacroRuntimes with Traces with Helpers { | |
if (prefix == EmptyTree) macroDef.owner.tpe else prefix.tpe, | |
macroDef.owner) | |
} else | |
- targ.tpe | |
+ binding.targs(paramPos).tpe | |
context.WeakTypeTag(tpe) | |
}) | |
macroLogVerbose(s"tags: $tags") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment