swiftlang/swift

`isolated` keyword incorrectly permitted in inheritance clause

Open

#83.538 aberto em 5 de ago. de 2025

Ver no GitHub
 (1 comment) (0 reactions) (1 assignee)Swift (10.719 forks)batch import
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker

Métricas do repositório

Stars
 (69.989 stars)
Métricas de merge de PR
 (Mesclagem média 7d 6h) (556 fundiu PRs em 30d)

Description

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

protocol P {}
struct S: isolated P {}

Guia do colaborador