var a: FooNotNil
should give CT error, breaks not nil
semantics, causing SIGSEGV
#13827
Labels
var a: FooNotNil
should give CT error, breaks not nil
semantics, causing SIGSEGV
#13827
var a: FooNotNil
should give CT error, breaksnot nil
semantics, causing SIGSEGVExample
Current Output
Expected Output
CT error for both
var x: Foo2
andvar x = default(Foo2)
Additional Information
not nil
issues we havenot nil
andrequiresInit
#13808 could maybe fix and add a test for this? /cc @zahThe text was updated successfully, but these errors were encountered: