Commit Graph

5 Commits

Author SHA1 Message Date
Chris Lattner
94cc3533b4 add missing newlines at end of files.
Swift SVN r1062
2012-01-18 01:51:09 +00:00
Doug Gregor
41fc50e9dc Remove the ability for protocol<P1, P2, P3> to refer to a type. Plus,
some minor syntactic fixes and clarifications.


Swift SVN r499
2011-08-10 06:01:36 +00:00
Doug Gregor
35ec6171b7 Update generics proposal based on today's discussion. Major changes:
- Use implicit conformance to protocols (duck typing)
  - Treat protocols as types, eliminating the any<proto1, proto2, ...>
  syntax in favor of... 
  - Introduce a syntax for anonymous protocols
  - Switch [] syntax over to be more C++-like
  - Switch protocol inheritance -> protocol refinement, and use : to
  separate a protocol from those protocols it refines
  - Clarify our intent w.r.t. type argument deduction
  - Note that we don't intend to implement run-time overload
  resolution out of the box



Swift SVN r497
2011-08-09 03:11:58 +00:00
Doug Gregor
02d66f866f Minor fixes and tweaks based on feedback from Chris
Swift SVN r496
2011-08-08 16:45:02 +00:00
Doug Gregor
b64c49f97a Generics manifesto
Swift SVN r495
2011-08-06 00:38:23 +00:00