mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Merge pull request #10889 from smowton/smowton/fix/enum-entry-class-warning
Kotlin: Don't warn on extracting an enum-entry class
This commit is contained in:
4
java/ql/test/kotlin/library-tests/methods/diagnostics.ql
Normal file
4
java/ql/test/kotlin/library-tests/methods/diagnostics.ql
Normal file
@@ -0,0 +1,4 @@
|
||||
import java
|
||||
import semmle.code.java.Diagnostics
|
||||
|
||||
select any(Diagnostic d | not d.toString().matches("Not rewriting trap file for%"))
|
||||
Reference in New Issue
Block a user