diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-09-18 11:18:28 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-09-18 11:34:39 +0200 |
commit | 0f67e8dddcb8b087560fed90339d9235179dd1ea (patch) | |
tree | 9a5b92b7139215faf0c3efb5bf48314116db3abb /test/files/scalacheck/quasiquotes | |
parent | 746f53e0cee601c189dac7a011f5be79591ece4c (diff) | |
download | scala-0f67e8dddcb8b087560fed90339d9235179dd1ea.tar.gz scala-0f67e8dddcb8b087560fed90339d9235179dd1ea.tar.bz2 scala-0f67e8dddcb8b087560fed90339d9235179dd1ea.zip |
SI-7853 A less ad-hoc place to call memberType
Rather than localizing the fix to the outerAccessor, this
commit pushed the call to `memberType` into *all* usages of
`newValDef` and `newDefDef`.
The TPT of `applyOrElse` in synthetized partial functions must
be set explicitly to pass the pos/t7853-partial-function.scala.
Otherwise, the as-seen-from ends up cloning the type parameter
`B1` of `applyOrElse` as it transforms (questionably)
its bound from `List[Int @unchecked]` to `List[Int]`.
Partial Function synthesis was already a delicate area, and this
makes things more explicit which could be counted as an improvement.
Diffstat (limited to 'test/files/scalacheck/quasiquotes')
0 files changed, 0 insertions, 0 deletions