Commit Graph

2 Commits

Author SHA1 Message Date
Allan Shortlidge
466335b5d3 Tests: #_hasSymbol support for members of opaque/existential types.
Resolves rdar://101063734
2022-12-01 13:39:22 -08:00
Allan Shortlidge
182cc8de37 SILGen: Implement if #_hasSymbol() conditions.
Emit a call to a helper function that determines whether the symbols associated with the declaration referenced in the `#_hasSymbol(...)` condition are non-null at runtime. An upcoming change will emit a definition for this function during IRGen.

Resolves rdar://100130015
2022-10-13 21:00:24 -07:00