[SR-7221] Class lookup at runtime fails in master toolchains #49769
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.2
Attachment: Download
Environment
macOS 10.13.3
Xcode 9.3b4
Tested with
Swift Development Snapshot 2018-03-15 (a)
Additional Detail from JIRA
md5: 1983d684f3aa3ad20f268cacc1e6be35
is blocked by:
Issue Description:
In a simple macOS app (Sample project included) when using recent toolchains from `master` this crashes at runtime:
with:
This runs fine without modification using any other toolchain branches (current 4.0.3, 4.1-snapshots)
When compiling with the latest toolchain the crash can be averted by either using a class as the DataRepresentation property, or by removing the `Date` property of said representation. (Only Date properties crash)
Talk about distilling this down from a large project 😉
The text was updated successfully, but these errors were encountered: