swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Offen

#83.538 geöffnet am 05.08.2025

 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Swift (10.719 Forks)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

Repository-Metriken

Stars
 (69.989 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 8T 17h) (510 gemergte PRs in 30 T)

Beschreibung

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

protocol P {}
struct S: isolated P {}

Contributor Guide