Commit Graph

1 Commits

Author SHA1 Message Date
Slava Pestov
5e39f0354e Sema: Fix crash-on-invalid with 'let' property in protocol
The protocol requirement storage declaration might not have accessors
created for it if it was incorrectly declared as a 'let' property
inside the protocol.

There might be other cases where we had failed to synthesize the
requirement's accessors, and crash here; this should hopefully make
all of those more robust.

Fixes <rdar://problem/48994271>.
2019-05-30 16:43:43 -04:00