Skip to content

Commit

Permalink
Merge; add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Aug 22, 2023
1 parent 71133d0 commit 74d776e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@ def foo():
pass


match pattern_comments:
case (
pattern
# 1
as # 2
# 3
name #4
# 5
):
pass


match x:
case (a as b) as c:
pass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,18 @@ match pattern_comments:
pass
match pattern_comments:
case (
pattern
# 1
as # 2
# 3
name #4
# 5
):
pass
match x:
case (a as b) as c:
pass
Expand Down Expand Up @@ -333,6 +345,17 @@ match pattern_comments:
pass
match pattern_comments:
case (
pattern as name
# 1
# 2
# 3 # 4
# 5
):
pass
match x:
case (a as b) as c:
pass
Expand Down

0 comments on commit 74d776e

Please sign in to comment.