diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-03-02 20:51:49 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2016-03-02 22:11:55 +1000 |
commit | 1a59c55ed5c6a0d53acd0259090cf57328748451 (patch) | |
tree | f61cf8d36e1341bba2f3d4131945b3c02b37a0db /spec/public/stylesheets | |
parent | 861e4766da5a2271ae66d5d5fd054f6fe01ac7b9 (diff) | |
download | scala-1a59c55ed5c6a0d53acd0259090cf57328748451.tar.gz scala-1a59c55ed5c6a0d53acd0259090cf57328748451.tar.bz2 scala-1a59c55ed5c6a0d53acd0259090cf57328748451.zip |
Refactor transform of case apply in refchecks
I've identified a dead call to `transformCaseApply` that
seems to date back to Scala 2.6 vintages, in which case
factory methods were a fictional companion method, rather
than a real apply method in a companion module.
This commit adds an abort in that code path to aide code
review (if our test suite still passes, we know that I've
removed dead code, rather than silently changing behaviour.)
The following commit will remove it altogether
I then inlined a slightly clunky abstraction in the two
remaining calls to `transformCaseApply`. It was getting in the
way of a clean fix to SI-9546, the topic of the next commit.
Diffstat (limited to 'spec/public/stylesheets')
0 files changed, 0 insertions, 0 deletions