For the past weeks or maybe a month or so, the trunk development swift toolchains have been crashing with following code:
enum Foo {
case a
case b
case c
}
var foo: Foo = .b {
didSet {
// stuff...
}
}
Is there a way to workaround this bug? The code does not crash, if the variable is placed inside something, e.g. a struct.