summaryrefslogtreecommitdiff
path: root/test/scaladoc
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-02-04 08:23:30 -0800
committerJames Iry <jamesiry@gmail.com>2013-02-04 09:30:38 -0800
commit057417236845b689f29c221037e1d06d2b6e43bb (patch)
tree2725a1186f0dded8991cf192d3a17274da8a6129 /test/scaladoc
parent8d25d05e9bf848d763e7b657d9c7e96ea5cb8daf (diff)
downloadscala-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