Replies: 1 comment
-
Hi @ph1ps! Thanks for the report. Since this is not a bug affecting any We've reported the compiler bug to Apple here and believe it won't be an issue when printing is a bit further along. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I know that printing is still a WIP but I wanted to try some of the branches and I think this problem is not easily found unless you are trying to build a project with a
Release
configuration (which would eliminate test coverage of this problem). The compiler does not crash with aDebug
configuration. I tried the branches "pb-pp" and "parser-builder-printer" and can reproduce it in both.This is a minimal example where I could reproduce the crash:
However this code without the
Optionally
parser-printer does not cause a crash:In Xcode it tells me that there was a Segmentation Fault 11. This is the output right before the stack trace:
Maybe it is still early enough in development to either adapt
Optionally.print(_:)
or maybe submit an issue to the Swift compiler and them fixing the problem before printing will be released.Beta Was this translation helpful? Give feedback.
All reactions