swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Open

#83.538 aperta il 5 ago 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)Swift (10.719 fork)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

Metriche repository

Star
 (69.989 star)
Metriche merge PR
 (Merge medio 7g 6h) (556 PR mergiate in 30 g)

Descrizione

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

protocol P {}
struct S: isolated P {}

Guida contributor