swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Aperta

#83.538 aperta il 5 ago 2025

 (2 commenti) (0 reazioni) (1 assegnatario)Swift (10.719 fork)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

Metriche repository

Star
 (69.989 stelle)
Metriche merge PR
 (Merge medio 8g 17h) (510 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