Anthony Latsis

Results 155 comments of Anthony Latsis

Reduced examples: ```swift class C1 {} func test1(_: A, x: C1) { _ = unsafeBitCast(x, to: C1.self) } class C2 {} func test2(_: A, x: B) { _ = unsafeBitCast(x,...

Reduced: ```swift // module 'test' struct test {} func foo(_: test.test) {} // error: 'test' is not a member type of struct 'test.test' ```

> set it, nothing happens You got a typo, the option is spelled `no-verify-emitted-module-interface` (`swiftc -h` to verify).

The example with floating point literals compiles with a near main revision. The other examples suggest a common cause and can be reduced to the following: ```swift infix operator ***:...

Both examples crash in IRGen with 23e2f345b51ca0c. Reduced test case for the original snippet: ```swift class C { func test(x: Int, y: Bool) { var clos: () -> Void clos...

Hello, @AbhishekSharma55, Please feel free to work on this, but note that the language reference where this issue is seen lives in a different repository, https://github.com/apple/swift-book. ___ @xedin Please transfer...