Swift: Add 'nomagic'.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-01-16 23:08:20 +00:00
parent 1fba345fb3
commit 6391346ade

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