Skip to content

Commit

Permalink
Expand test with saems suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Clyybber committed Mar 16, 2024
1 parent f9f8fd7 commit a628d35
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/lang_callable/macros/tmacros_various.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ macrocache ok
CommentStmt "comment 1"
CommentStmt "comment 2"
false
false
'''
output: '''
Expand Down Expand Up @@ -366,3 +367,22 @@ block:
except Exception2:
discard
)

macro checkEqOfTry(a, b: typed) =
echo a[0][1][1] == b[0][1][1]

checkEqOfTry (;
block:
type E = object of Exception1
try:
discard
except E:
discard
), (;
block:
type E = object of Exception2
try:
discard
except E:
discard
)

0 comments on commit a628d35

Please sign in to comment.