Files
codeql/java/ql/test/library-tests/pattern-switch/cfg/options
Chris Smowton 6c990c2cf6 Add pattern-case support and generally debug switch CFGs
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).
2023-11-30 11:23:58 +00:00

2 lines
54 B
Plaintext

//semmle-extractor-options: --javac-args --release 21