Avatar
omochimetaru 2/28/2019 9:35 AM
There is nothing about opaque result types that make them unique in this respect from any other generic or existential context where the concrete type is unknown. Right now, AnyObject can be used to consorting to reference semantics. Perhaps in the future we will be able to...
9:35 AM
I think a subset of this proposal should be ready for review soon.
9:35 AM
opaque result typeのreviewが近いらしい
9:36 AM
protocol Shape { ... } func translucentRectangle() -> opaque Shape { ... }
9:36 AM
opaqueじゃなくてsomeはどうかなあ、だって