swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Open

#83,538 创建于 2025年8月5日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Swift (10,719 fork)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

仓库指标

Star
 (69,989 star)
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 {}

贡献者指南