Please sign in to comment.
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.
- Loading branch information...
Showing with 2 additions and 2 deletions.