mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #15348 from MathiasVP/remove-bad-magic-swift
This commit is contained in:
@@ -54,6 +54,7 @@ class Pattern extends Generated::Pattern {
|
||||
* For example, in `switch .some(e) { case let .some(p): ... }`, the pattern `p`
|
||||
* is matched against the expression `e`.
|
||||
*/
|
||||
pragma[nomagic]
|
||||
Expr getMatchingExpr() {
|
||||
result = this.getImmediateMatchingExpr()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user