swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Open

#83,538 opened on 2025年8月5日

GitHub で見る
 (1 comment) (0 reactions) (1 assignee)Swift (69,989 stars) (10,719 forks)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

説明

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

protocol P {}
struct S: isolated P {}

コントリビューターガイド