On code of the form:
sealed interface I<T> permits C {...}
class C<T> implements I<T> {...}
VS Code issues a warning until one writes:
sealed interface I<T> permits C<T> {...}
However, this is not valid Java syntax.
Environment
- Operating System: MacOS 12.1
- JDK version: 17
- Visual Studio Code version: 1.63.2
- Java extension version: 1.2.0