summaryrefslogtreecommitdiff
path: root/test/files/run/macro-reify-ref-to-packageless.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-08-31 21:44:34 +0200
committerEugene Burmako <xeno.by@gmail.com>2014-03-05 13:42:27 +0100
commitdb300d4d9e3eb1de4245ad3aeb686eb5302ae152 (patch)
treebc018d6ab9d7c3a74f999bbcde056fbe6830bfa2 /test/files/run/macro-reify-ref-to-packageless.check
parentb66a39653b9bccab72036ba58fec5fd7d596d313 (diff)
downloadscala-db300d4d9e3eb1de4245ad3aeb686eb5302ae152.tar.gz
scala-db300d4d9e3eb1de4245ad3aeb686eb5302ae152.tar.bz2
scala-db300d4d9e3eb1de4245ad3aeb686eb5302ae152.zip
[backport] no longer warns on calls to vampire macros
As eloquently elaborated and cleverly named by Travis Brown, macros defined in structural types are useful: http://meta.plasm.us/posts/2013/07/12/vampire-methods-for-structural-types/. However, since such macros are on the intersection of a number of language features, as usual, there are bugs. This commit fixes an unwanted interaction of macros defined in structural types with the scala.language.reflectiveCalls guard. Since macro calls aren't going to be carried to runtime, there's no need to warn about them.
Diffstat (limited to 'test/files/run/macro-reify-ref-to-packageless.check')
0 files changed, 0 insertions, 0 deletions