diff options
author | James Iry <jamesiry@gmail.com> | 2013-02-04 08:23:30 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-02-04 09:30:38 -0800 |
commit | 057417236845b689f29c221037e1d06d2b6e43bb (patch) | |
tree | 2725a1186f0dded8991cf192d3a17274da8a6129 /test/scaladoc | |
parent | 8d25d05e9bf848d763e7b657d9c7e96ea5cb8daf (diff) | |
download | scala-057417236845b689f29c221037e1d06d2b6e43bb.tar.gz scala-057417236845b689f29c221037e1d06d2b6e43bb.tar.bz2 scala-057417236845b689f29c221037e1d06d2b6e43bb.zip |
SI-5833 Fixes tail-of-Nil problem in RefinedType#normalizeImpl
RefinedType#normalizeImpl was checking to see if the flattened list of
parents had an empty tail then pulling the head if so. But if the list
was empty then boom. This fix makes it check if the whole list has
length 1 instead. Empty lists will flow through to the rest the logic
which has no problems with Nil.
Diffstat (limited to 'test/scaladoc')
0 files changed, 0 insertions, 0 deletions