mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Change pretty-printing of PatternCase
This commit is contained in:
@@ -551,9 +551,9 @@ class PatternCase extends SwitchCase {
|
||||
/** Gets the guard applicable to this pattern case, if any. */
|
||||
Expr getGuard() { result.isNthChildOf(this, -3) }
|
||||
|
||||
override string pp() { result = "case T t ..." }
|
||||
override string pp() { result = "case <Pattern>" }
|
||||
|
||||
override string toString() { result = "case T t ..." }
|
||||
override string toString() { result = "case <Pattern>" }
|
||||
|
||||
override string getHalsteadID() { result = "PatternCase" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user