diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-22 22:46:32 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-23 00:35:22 -0800 |
commit | 4a984f82d5bfca05123c53bd385d0299818f8a75 (patch) | |
tree | d9f5cc270fee70649ee22cd715c0899ae204ef26 /test/files/neg/t5553_1.check | |
parent | 98cf4014a3a14dbc348a464584133d90719bdbb8 (diff) | |
download | scala-4a984f82d5bfca05123c53bd385d0299818f8a75.tar.gz scala-4a984f82d5bfca05123c53bd385d0299818f8a75.tar.bz2 scala-4a984f82d5bfca05123c53bd385d0299818f8a75.zip |
Methods to derive new DefDefs.
I guess I'd seen DefDef(mods, name, tparams, vparamss, tpt, rhs)
one too many times and went a little crazy. What do you prefer:
- val DefDef(mods, name, tparams, vparamss, tpt, rhs) = tree1
- treeCopy.DefDef(tree1, mods, name, tparams, vparamss, tpt, transform(rhs))
+ deriveDefDef(tree1)(transform)
Me too.
Diffstat (limited to 'test/files/neg/t5553_1.check')
0 files changed, 0 insertions, 0 deletions