taccept.nim 319 B

1234567891011121314151617181920212223
  1. discard """
  2. matrix: "--styleCheck:error --styleCheck:usages"
  3. """
  4. import std/[asyncdispatch, nre]
  5. type
  6. Name = object
  7. id: int
  8. template hello =
  9. var iD = "string"
  10. var name: Name
  11. doAssert name.id == 0
  12. doAssert iD == "string"
  13. hello()
  14. # bug #12955
  15. import os
  16. import fileinfo
  17. var xs: seq[fileinfo.FileInfo]