swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

開放

#83,538 建立於 2025年8月5日

 (2 則留言) (0 個反應) (1 位負責人)Swift (10,719 個分叉)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

倉庫指標

星標
 (69,989 顆星)
PR 合併指標
 (平均合併 8天 17小時) (30 天內合併 510 個 PR)

描述

The following compiles but shouldn't since isolated is no longer the syntax for SE-0470:

protocol P {}
struct S: isolated P {}

貢獻者指南