swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Ouverte

#83 538 ouverte le 5 août 2025

 (2 commentaires) (0 réaction) (1 personne assignée)Swift (10 719 forks)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

Métriques du dépôt

Stars
 (69 989 étoiles)
Métriques de merge PR
 (Merge moyen 8j 17h) (510 PRs mergées en 30 j)

Description

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

protocol P {}
struct S: isolated P {}

Guide contributeur