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 (10,719 forks)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (平均マージ 8d 17h) (30d で 510 merged PRs)

説明

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

protocol P {}
struct S: isolated P {}

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