Files
swift-mirror/lib/Sema/ConstraintSystem.cpp
Mark Lacey 001bbdae13 Fix overload set construction to not have an extra element in the disjunction.
Any time we had a favored choice for a disjunction, we attempted to
not add it twice, but that little optimization was faulty.

This should speed up some expression type checking a tiny bit in cases
where the favored choice did not result in a solution.

Noticed by observation.
2018-03-07 13:54:25 -08:00

73 KiB