summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-10-15 06:51:44 -0700
committerJason Zaugg <jzaugg@gmail.com>2013-10-15 06:51:44 -0700
commitae47ccc35bdcfbdb965e2297b131a2416495d4e7 (patch)
treee54c70f1834b97fd5c3e64e1ae5106930a8acbdd /src
parent686fb483e721ba2bef77e185afd5bf97a134d890 (diff)
parentb747209b10793a88ce09f4b89d90dd4c50b05896 (diff)
downloadscala-ae47ccc35bdcfbdb965e2297b131a2416495d4e7.tar.gz
scala-ae47ccc35bdcfbdb965e2297b131a2416495d4e7.tar.bz2
scala-ae47ccc35bdcfbdb965e2297b131a2416495d4e7.zip
Merge pull request #3016 from xeno-by/topic/vampires
[master] assorted fixes for vampire macros
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index de684e69ad..e93c0938e3 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -4747,7 +4747,7 @@ trait Typers extends Adaptations with Tags with TypersTracking with PatternTyper
def sym = tree1.symbol
if (tree.isInstanceOf[PostfixSelect])
checkFeature(tree.pos, PostfixOpsFeature, name.decode)
- if (sym != null && sym.isOnlyRefinementMember)
+ if (sym != null && sym.isOnlyRefinementMember && !sym.isMacro)
checkFeature(tree1.pos, ReflectiveCallsFeature, sym.toString)
qualStableOrError.symbol match {