diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-01-14 17:29:42 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-05-28 08:23:44 +0200 |
commit | e1d9805c91dbe74317e2f4f22ad59056d64d12b3 (patch) | |
tree | cf8c3f135adfdcbfa090c3c408b7bce407c3cdeb /test/files/run/t6168 | |
parent | 43249001a566c46d6bb3b515045ab477b42a0c77 (diff) | |
download | scala-e1d9805c91dbe74317e2f4f22ad59056d64d12b3.tar.gz scala-e1d9805c91dbe74317e2f4f22ad59056d64d12b3.tar.bz2 scala-e1d9805c91dbe74317e2f4f22ad59056d64d12b3.zip |
macro engine refactoring
Macro impl bindings now store more information in signatures.
Previously it was a flattened List[Int] corresponding to flattened paramss,
now it's List[List[Int]] to preserve the lengths of parameter lists.
Also now we distinguish between c.Expr parameters and others.
Previously actual and reference macro signatures were represented as
tuples of vparamss, rets, and sometimes tparams. Now they are all
abstracted behind MacroImplSig.
Finally this patch provides better error messages in cases of
argsc <-> paramsc and argc <-> paramc mismatches.
Diffstat (limited to 'test/files/run/t6168')
0 files changed, 0 insertions, 0 deletions