Commit Graph

4 Commits

Author SHA1 Message Date
Maxim Moiseev
c678a839dc IndexType => Index 2015-12-09 17:16:42 -08:00
Maxim Moiseev
7e2466c14e CollectionType => Collection 2015-12-09 17:12:48 -08:00
Dmitri Hrybenko
3b04d1b013 tests: reorganize tests so that they actually use the target platform
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK.  The driver was defaulting to the
host OS.  Thus, we could not run the tests when the standard library was
not built for OS X.

Swift SVN r24504
2015-01-19 06:52:49 +00:00
Jordan Rose
c7761d9e62 [Sema] When looking up member types, use associated types as a last resort.
Swift can infer associated types for decls conforming to protocols, but if
there's already an explicit member type available, we can just use that.

We could probably push this deeper (into qualified lookup), but this is
enough to avoid cases of accidental circular conformance checking, where
we need a particular member type to satisfy a parent conformance.

rdar://problem/18576085

Swift SVN r22664
2014-10-10 17:22:08 +00:00