Commits

Doug Gregor committed 9ba865e852d
Diagnose ambiguity type-checks by pointing to candidates. Introduces very basic support for diagnosing ambiguous expressions, where the source of the ambiguity is a reference to an overloaded name. Simple example: t.swift:4:1: error: ambiguous use of 'f0' f0(1, 2) ^ t.swift:1:6: note: found this candidate func f0(i : Int, d : Double) {} ^ t.swift:2:6: note: found this candidate func f0(d : Double, i : Int) {} ^ There's a lot of work needed to make this cleaner, but perhaps it will ease the pain of developing the library <rdar://problem/14277889>. Swift SVN r6195