swiftlang/swift
View on GitHub`isolated` keyword incorrectly permitted in inheritance clause
Open
#83,538 opened on Aug 5, 2025
accepts invalidactor isolationcompilerconcurrencygood first issueinheritance clausestype checker
Description
The following compiles but shouldn't since isolated is no longer the syntax for SE-0470:
protocol P {}
struct S: isolated P {}