Commit Graph

11 Commits

Author SHA1 Message Date
Doug Gregor
823c24b355 [SE-0112] Rename ErrorProtocol to Error.
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00
Dmitri Gribenko
a257715fcc Revert "[stdlib] [SE-0031] update stdlib for SE-0031 (inout adjustment)" 2016-02-26 11:17:10 -08:00
Daniel Duan
13b5c8f3bc [SE-0031] update code base for SE-0031 (inout adjustment) 2016-02-26 10:52:10 -08:00
John McCall
55f59627b3 Ensure that we validate materializeForSet accessors
after we generate them.

Fixes a crash in multi-file mode, rdar://18503960.

Swift SVN r22455
2014-10-02 01:07:26 +00:00
John McCall
8d43599e92 Pull isFinal down to properties, methods, and subscripts
instead of pushing it down when type-checking the class.

In multi-file mode, this ensures that isFinal is set
properly when deciding whether to add materializeForSet
to a property/subscript.

rdar://18448869

Swift SVN r22307
2014-09-27 00:26:54 +00:00
Jordan Rose
8efc6a5c6a Check property overrides as part of validation.
Otherwise, we get an ambiguity error between the decl in the subclass and
the decl in the base class.

(The SILGen test here is mostly a sanity check; it already worked.)

rdar://problem/18065580

Swift SVN r21885
2014-09-11 18:58:08 +00:00
Chris Lattner
5b49d59c57 Remove the @ from @final and @lazy, the last major piece of
rdar://17168115.

Also, reinstate the ARM driver change and testcase that I removed
in my last patch.


Swift SVN r19790
2014-07-10 06:23:27 +00:00
Jordan Rose
ac90133b8c Update tests for accessibility modifiers becoming context-sensitive keywords.
Swift SVN r19673
2014-07-08 02:17:49 +00:00
Jordan Rose
5557c3972b Update tests for accessibility.
In most cases this means adding @public to things that get serialized;
in a few cases it means using a modern public stdlib API instead of
a legacy thing I was trying to keep @internal.

Swift SVN r19350
2014-06-30 18:50:40 +00:00
Jordan Rose
2de53fe851 Turn @lazy properties into computed properties as part of decl validation.
We need @lazy properties in other files to not be accessed as stored
properties, even though they never get fully type-checked.

<rdar://problem/17232585>

Swift SVN r19153
2014-06-25 00:33:05 +00:00
Jordan Rose
c393d07379 TypeChecker: when validating a var or subscript, validate its accessors too.
Otherwise, we may end up trying to use the accessors in SILGen without ever
setting their types. (This happens when accessing a var in another file in
the same module.)

<rdar://problem/16016713>

Swift SVN r13795
2014-02-12 00:36:04 +00:00