Merge pull request #15348 from MathiasVP/remove-bad-magic-swift

This commit is contained in:
Mathias Vorreiter Pedersen
2024-01-17 12:00:22 +00:00
committed by GitHub

View File

@@ -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