ttype_highlight.nim 646 B

1234567891011121314151617181920212223242526272829
  1. type
  2. TypeA = int
  3. TypeB* = int
  4. TypeC {.unchecked.} = array[1, int]
  5. TypeD[T] = T
  6. TypeE* {.unchecked.} = array[0, int]#[!]#
  7. discard """
  8. disabled:true
  9. $nimsuggest --tester $file
  10. >highlight $1
  11. highlight;;skType;;2;;2;;5
  12. highlight;;skType;;3;;2;;5
  13. highlight;;skType;;4;;2;;5
  14. highlight;;skType;;5;;2;;5
  15. highlight;;skType;;6;;2;;5
  16. highlight;;skType;;2;;10;;3
  17. highlight;;skType;;3;;11;;3
  18. highlight;;skType;;4;;24;;5
  19. highlight;;skType;;4;;33;;3
  20. highlight;;skType;;5;;13;;1
  21. highlight;;skType;;6;;25;;5
  22. highlight;;skType;;6;;34;;3
  23. highlight;;skType;;2;;10;;3
  24. highlight;;skType;;3;;11;;3
  25. highlight;;skType;;4;;33;;3
  26. highlight;;skType;;6;;34;;3
  27. """