Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar74557857.swift
Robert Widmann 326fc09576 Remove a Bogus Assertion
The self type in this routine is absolutely allowed to resolve to an
Optional.

rdar://74557857
2021-02-23 14:24:54 -08:00

8 lines
119 B
Swift

// RUN: %target-swift-frontend -typecheck %s
extension Optional {
init?() {
self.init(nilLiteral: Void())
}
}