diff options
author | Paul Phillips <paulp@improving.org> | 2013-04-23 16:09:16 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-23 16:30:31 -0700 |
commit | cdffcf8962c9fa606c027fcb5a50a4273976a576 (patch) | |
tree | fe2c5f908f92f26f9fa8def47f1c99bb9cbddcb4 /src/compiler/scala/tools/reflect/FastTrack.scala | |
parent | 1da48a45b62879c2bd2904342eeff7e6e568350a (diff) | |
download | scala-cdffcf8962c9fa606c027fcb5a50a4273976a576.tar.gz scala-cdffcf8962c9fa606c027fcb5a50a4273976a576.tar.bz2 scala-cdffcf8962c9fa606c027fcb5a50a4273976a576.zip |
Eliminated the accumulated feature warnings.
No, this isn't busywork, how dare you suggest
such a thing. I intend my tombstone to say
HERE LIES EXTEMPORE,
WHO ELIMINATED A LOT OF SIP-18 WARNINGS
REST IN PEACE
Diffstat (limited to 'src/compiler/scala/tools/reflect/FastTrack.scala')
-rw-r--r-- | src/compiler/scala/tools/reflect/FastTrack.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/reflect/FastTrack.scala b/src/compiler/scala/tools/reflect/FastTrack.scala index aa4ddc8ba8..3cf19396ee 100644 --- a/src/compiler/scala/tools/reflect/FastTrack.scala +++ b/src/compiler/scala/tools/reflect/FastTrack.scala @@ -26,7 +26,7 @@ trait FastTrack { final class FastTrackEntry(pf: PartialFunction[Applied, MacroContext => Tree]) extends (MacroArgs => Any) { def validate(tree: Tree) = pf isDefinedAt Applied(tree) - def apply(margs: MacroArgs) = { + def apply(margs: MacroArgs): margs.c.Expr[Nothing] = { val MacroArgs(c, _) = margs // Macros validated that the pf is defined here - and there's not much we could do if it weren't. c.Expr[Nothing](pf(Applied(c.expandee))(c))(c.WeakTypeTag.Nothing) |