swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Open

#83,538 opened on Aug 5, 2025

View on 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
 (Avg merge 7d 12h) (530 merged PRs in 30d)

Description

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

protocol P {}
struct S: isolated P {}

Contributor guide