Avatar
Avatar
Iceman
@swift-5.7.3 @swift-5.8.1 protocol P1<C> { associatedtype C } protocol P2<C> { associatedtype C func f() -> any P1<C> } func g(_ p: any P2) { let _ = p.f() } (edited)
swift57 BOT 1/1/2023 1:30 PM
exit status: 139 with stderr:Stack dump: 0. Program arguments: /usr/bin/swift-frontend -frontend -interpret - -disable-objc-interop -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -module-name main 1. Swift version 5.7.2 (swift-5.7.2-RELEASE) 2. Compiling with the current language version 3. While evaluating request TypeCheckSourceFileRequest(source_file "<stdin>") 4. While evaluating request TypeCheckFunctionBodyRequest(main.(file).g@<stdin>:10:6) 5. While type-checking statement at [<stdin>:10:21 - line:12:1] RangeText="{ let _ = p.f() " 6. While type-checking declaration 0x560c45448848 (at <stdin>:11:5) 7. While evaluating request PatternBindingEntryRequest((unknown decl), 0, 0) 8. While type-checking expression at [<stdin>:11:13 - line:11:17] RangeText="p.f(" 9. While type-checking-target starting at <stdin>:11:15 Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): /usr/bin/swift-frontend(+0x551a103)[0x560c41ab1103] /usr/bin/swift-frontend(+0x551802e)[0x560c41aaf02e] /usr/bin/swift-frontend(+0x551a48a)[0x560c41ab148a] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fc37a23d520] /usr/bin/swift-frontend(+0x16fbd24)[0x560c3dc92d24] /usr/bin/swift-frontend(+0x17205b8)[0x560c3dcb75b8] /usr/bin/swift-frontend(+0x16fbb8b)[0x560c3dc92b8b] /usr/bin/swift-frontend(+0x16fa3b7)[0x560c3dc913b7] /usr/bin/swift-frontend(+0x171e6bf)[0x560c3dcb56bf] /usr/bin/swift-frontend(+0x16f9375)[0x560c3dc90375] /usr/bin/swift-frontend(+0x16f83a1)[0x560c3dc8f3a1] /usr/bin/swift-frontend(+0x15f8b31)[0x560c3db8fb31] /usr/bin/swift-frontend(+0x15f88a4)[0x560c3db8f8a4] /usr/bin/swift-frontend(+0x15f9e08)[0x560c3db90e08] /usr/bin/swift-frontend(+0x15f9ff7)[0x560c3db90ff7] /usr/bin/swift-frontend(+0x16b46a1)[0x560c3dc4b6a1] /usr/bin/swift-frontend(+0x1617d12)[0x560c3dbaed12] /usr/bin/swift-frontend(+0x160a727)[0x560c3dba1727] /usr/bin/swift-frontend(+0x162 (edited)