mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
These were reasonably broken beforehand, due to not taking switch rules into account in enough places, and confusing the expression/statement switch rule distinction with the distinction between switch statements and expressions.
(For example, `switch(x) { 1 -> System.out.println("Hello world") ... }` is a statement, but has a rule expression).
2 lines
54 B
Plaintext
2 lines
54 B
Plaintext
//semmle-extractor-options: --javac-args --release 21
|