Avatar
Avatar
shiz
@swift-6.1-dev @swift-6.0.3 class C {} func f() { isolated /* misused! */ let c = C() }
exit status: 134 with swift-frontend: /home/build-user/swift/lib/Sema/TypeCheckConcurrency.cpp:4756: std::optional<ActorIsolation> getIsolationFromAttributes(const Decl *, bool, bool): Assertion `isa<DestructorDecl>(decl)' failed. Stack dump: 0. Program arguments: /usr/bin/swift-frontend -frontend -interpret - -disable-objc-interop -empty-abi-descriptor -resource-dir /usr/lib/swift -module-name main -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins
7.29 KB