Pseudocode: Stabilize type predicate order

This commit is contained in:
Alexey Sedunov
2014-07-11 13:37:51 +04:00
parent 4707f4a5e9
commit 3cd7a22535
@@ -58,7 +58,7 @@ fun getReceiverTypePredicate(resolvedCall: ResolvedCall<*>, receiverValue: Recei
fun getExpectedTypePredicate(value: PseudoValue, bindingContext: BindingContext): TypePredicate {
val pseudocode = value.createdAt.owner
val typePredicates = HashSet<TypePredicate?>()
val typePredicates = LinkedHashSet<TypePredicate?>()
fun addSubtypesOf(jetType: JetType?) = typePredicates.add(jetType?.getSubtypesPredicate())