swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Open

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

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Swift (69,989 star) (10,719 fork)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 {}

贡献者指南