[SR-10925] Opaque result types cannot be used within a module on macOS 10.14 #53316
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
Environment
Apple Swift version 5.1 (swiftlang-1100.0.38.29 clang-1100.0.20.14)
Target: x86_64-apple-darwin18.6.0
Additional Detail from JIRA
md5: 690da11ff8b42be636f66001942f1178
Issue Description:
Opaque result types are resilient types, but this should only matter when crossing a module boundary. When declaring and using opaque result types within a single module, this should work on all OSes as it should be a compile-time-only feature in this scenario.
Unfortunately, when I actually try this, I get a linker error.
The text was updated successfully, but these errors were encountered: