Skip to content

Commit c08c395

Browse files
committed
Swift: add UnresolvedPatternExpr test
1 parent 78fc356 commit c08c395

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

swift/codegen/schema.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ UnresolvedMemberExpr:
569569

570570
UnresolvedPatternExpr:
571571
_extends: Expr
572-
_pragma: qltest_skip # we should really never extract these
573572
_children:
574573
sub_pattern: Pattern
575574

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#if FOO
2+
if case let .some(x) = 42 {
3+
print(x)
4+
}
5+
#endif

0 commit comments

Comments
 (0)