summaryrefslogtreecommitdiff
path: root/test/files/pos/t4365
Commit message (Collapse)AuthorAgeFilesLines
* SI-4365 nondeterministic failure in asSeenFromPaul Phillips2013-04-222-0/+40
Under some order-dependent conditions (if source files arrive in one order it happens, in the other order it does not) more than one set of type parameters are created for a given class. Previously this would lead to a crash in asSeenFrom when a type parameter had to be matched up with a type application. Now when that situation arises I compare them by name and log a dev warning if it hits. This does not risk anything undesirable happening because the wayward type parameter's owner is always the right class; it's only the class type parameters which don't include the wayward one. Since in a given type parameter list names are unique, we have enough information to salvage the search.