diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-04 15:25:44 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-06-08 15:34:59 +0200 |
commit | b31c6d4f778df6b415c605a468b155cea0b84a16 (patch) | |
tree | f3bc55f72169d6e6c55413244497965641cece92 /src/reflect | |
parent | ef9720f0ebc1fe1ab06be4751985fa4bd279a73d (diff) | |
download | scala-b31c6d4f778df6b415c605a468b155cea0b84a16.tar.gz scala-b31c6d4f778df6b415c605a468b155cea0b84a16.tar.bz2 scala-b31c6d4f778df6b415c605a468b155cea0b84a16.zip |
unapply may be called on arbitrary tree
before, an unapply call would be derived from a case SomeClass(_, ..., _) pattern,
where SomeClass is a valid constructor reference, and thus also a reference to an
unapply-bearing companion object
this assumption is going to be violated once we start using class tags to make
uncheckable type tests checkable, since we could encounter unapply calls like
{<method calls that construct classTag>}.unapply(<arg>)
Diffstat (limited to 'src/reflect')
0 files changed, 0 insertions, 0 deletions