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
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
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
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
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