diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-21 22:39:58 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-22 09:44:39 +0100 |
commit | 17a3639adb5969e8381fd08655cc6fb2aea19c24 (patch) | |
tree | 5f8ba8ccbb26753bc89c819a5abac58ebd527a47 /src/intellij/scaladoc.iml.SAMPLE | |
parent | 00624a39ed84c3fd245dd9df7454d4cec4399e13 (diff) | |
download | scala-17a3639adb5969e8381fd08655cc6fb2aea19c24.tar.gz scala-17a3639adb5969e8381fd08655cc6fb2aea19c24.tar.bz2 scala-17a3639adb5969e8381fd08655cc6fb2aea19c24.zip |
SI-8197 Only consider immediate params for defaults, overloading
A recent commit fixed the behaviour of overloading with regards
to discarding candiates that include default arguments. The old
check was checking the wrong flag.
But, the new code is actually checking all parameter lists for
defaults, which led to a regression in scala-io, which is distilled
in the enclosed test case. Applications are typechecked one
parameter list at a time, so a holistic check for defaults doesn't
seem to make sense; only defaults in the first parameter list
ought to count.
Diffstat (limited to 'src/intellij/scaladoc.iml.SAMPLE')
0 files changed, 0 insertions, 0 deletions