diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-02-21 16:27:55 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-02-21 16:27:55 -0800 |
commit | 9a2455aee4cfb09030ff2c2c0e6861326487e474 (patch) | |
tree | 32007c185ead3c10f70abe6bbb5b44f66b568c55 /test/files/pos/annotated-original/M_1.scala | |
parent | f62d35b0d400e4d8a68046707450e58aa6d8adca (diff) | |
parent | 26be2067a9dcc0aa44063aa94581d970427c8ad6 (diff) | |
download | scala-9a2455aee4cfb09030ff2c2c0e6861326487e474.tar.gz scala-9a2455aee4cfb09030ff2c2c0e6861326487e474.tar.bz2 scala-9a2455aee4cfb09030ff2c2c0e6861326487e474.zip |
Merge pull request #2152 from retronym/topic/annotatedRetyping-2.10.1
SI-7163 backport of annotated retyping to 2.10.1
Diffstat (limited to 'test/files/pos/annotated-original/M_1.scala')
-rw-r--r-- | test/files/pos/annotated-original/M_1.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/annotated-original/M_1.scala b/test/files/pos/annotated-original/M_1.scala new file mode 100644 index 0000000000..01654e02cf --- /dev/null +++ b/test/files/pos/annotated-original/M_1.scala @@ -0,0 +1,7 @@ +import language.experimental.macros +import reflect.macros.Context + +object M { + def impl(c: Context)(a: c.Expr[Any]) = c.Expr[Any](c.resetLocalAttrs(a.tree)) + def m(a: Any) = macro impl +} |