summary refs log tree commit diff stats
path: root/tests/async/tasyncfile.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-01-18 06:15:23 +0800
committerGitHub <noreply@github.com>2023-01-17 23:15:23 +0100
commitcc08a9015e446471be8b734c2895d99c91c59cb3 (patch)
tree9ecf4c79d650d875433a99d9c3d509d671f493c9 /tests/async/tasyncfile.nim
parent30da566d9dc81feab9ba3015d293d93b5c6785af (diff)
downloadNim-cc08a9015e446471be8b734c2895d99c91c59cb3.tar.gz
fixes #21263; consider all candidates for concept matches (#21265)
Diffstat (limited to 'tests/async/tasyncfile.nim')
0 files changed, 0 insertions, 0 deletions
tuserassert.nim?h=devel&id=70cf34cbdcff55771b6936b898fdb87c22af403e'>70cf34cbd ^
e80465dac ^
795afb002 ^

70cf34cbd ^
1
2
3
4
5
6
7
8
9
10
11
12
13
           
                      

   
                                  
              
                         

                   
 

                 
 
discard """
  output: "x == 45ugh"
"""

template myAssert(cond: untyped) =
  when 3 <= 3:
    let c = cond.astToStr
    if not cond:
      echo c, "ugh"

var x = 454
myAssert(x == 45)