[SR-12163] Getter function of a computed variable with "some" type cannot return a value of "some" type #54588
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
opaque types
Feature → types: opaque types
type checker
Area → compiler: Semantic analysis
Attachment: Download
Environment
iPadOS 13.3 playground
Additional Detail from JIRA
md5: 345d1505e5400a83da6ee12f249684c0
Issue Description:
❌ Bug: a getter function of a computed variable with "some" type cannot return a value of the same "some" type. 👎
✔ Fix: make getter functions of computed vars with "some" type able to return a value of the same "some" type. 👍
⚑
The text was updated successfully, but these errors were encountered: