Avatar
Author icon
t.ae
class X { init(){} deinit { print("deinit") } } do { let x = X() print(x) } let x = X() print(x)
Version:
swift-DEVELOPMENT-SNAPSHOT-2019-11-08-a
Output:
main.X deinit main.X
Error: