-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Description
Environment
- Operating System: macOS
- JDK version: 17.0.11
- Visual Studio Code version: 1.92.1
- Java extension version: 0.29.0
Steps To Reproduce
git clone https://github.com/classgraph/classgraph.gitcd classgraph ; code .- Cmd+P -> open file
src/test/java/io/github/classgraph/issues/issue402/TypeAnnotationTest.java - Observe that there is an error:
The error is: The declared type of the explicit 'this' parameter is expected to be TypeAnnotationTest.P<T> (the parameter is already this type -- and removing the @F parameter type annotation fixes the error, so something is wrong with parameter type parsing here).
Notably, this error does not occur when running ./mvnw test, or when opening the class in Eclipse.
