tdotcall.nim 666 B

123456789101112131415161718192021222324252627282930313233343536
  1. import mdotcall
  2. block: # issue #20073
  3. works()
  4. boom()
  5. block: # issue #7085
  6. doAssert baz("hello") == "hellobar"
  7. doAssert baz"hello" == "hellobar"
  8. doAssert "hello".baz == "hellobar"
  9. block: # issue #7223
  10. var r = BytesRange(bytes: @[1.byte, 2, 3], ibegin: 0, iend: 2)
  11. var a = r.rangeBeginAddr
  12. block: # issue #11733
  13. var a: ObjA
  14. var evaluated = false
  15. a.publicTemplateObjSyntax(42): evaluated = true
  16. doAssert evaluated
  17. block: # issue #15246
  18. doAssert sourceBaseName() == "tdotcall"
  19. block: # issue #12683
  20. heh(0..40, "|")
  21. block: # issue #7889
  22. if false:
  23. bindmeQuote()
  24. if false:
  25. bindmeTemplate()
  26. block: # issue #14894
  27. myTemplate()