Open izik1 opened 2 years ago
Reproducible in 5.7, actually fails in SIL verification on main: "SIL verification failed: must struct_extract from struct: sd" See here
Thank you for taking the time to reduce that!
CC: @meg-gupta @atrick
Synced to rdar://102249283 .
Describe the bug Swift segfaults in LLVM, as reproducible below. I think I saw some glimmer of "
ptrtoint
cast must have a pointer" at some point while I was minimizing but that text doesn't show up with the minimized code :/Steps To Reproduce Attempt to build the following snippet: (paste it in a playground, paste it in a
swift repl
, paste it in a new project, etc)Expected behavior The snippet should compile.
Screenshots N/A
Environment (please fill out the following information)
Additional context Output from building the above code: