Commit Graph

5 Commits

Author SHA1 Message Date
Dmitri Hrybenko
c109ec9125 stdlib: protocol extensions: de-underscore count()
Swift SVN r28246
2015-05-07 00:30:38 +00: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
Dave Abrahams
b05f2528f5 [stdlib] Drop redundant factory func requirement
All the integers already have an init() that will narrow from Max[U]Int.
This change is consistent with our general move from factories to
initializers.

Swift SVN r21988
2014-09-16 22:41:19 +00:00
Dave Abrahams
6d1095f44e Protocol names end in "Type," "ible," or "able"
Mechanically add "Type" to the end of any protocol names that don't end
in "Type," "ible," or "able."  Also, drop "Type" from the end of any
associated type names, except for those of the *LiteralConvertible
protocols.

There are obvious improvements to make in some of these names, which can
be handled with separate commits.

Fixes <rdar://problem/17165920> Protocols `Integer` etc should get
uglier names.

Swift SVN r19883
2014-07-12 17:29:57 +00:00
Joe Pamer
d91482ca66 Fix some issues with type parameter resolution.
In a couple of cases, we weren't properly extracting the correct archetype type from generic type parameters.  This was causing various crashes and strange errors throughout the system.  (See rdar://problem/16296421, rdar://problem/16273217, rdar://problem/16329242)

Swift SVN r15213
2014-03-18 23:52:07 +00:00