tqualifiedmacro.nim 257 B

123456789101112131415
  1. discard """
  2. output: '''
  3. template t
  4. '''
  5. """
  6. # issue #12696
  7. import mqualifiedmacro
  8. proc p() {. mqualifiedmacro.t .} = # errors with identifier expected but a.t found
  9. echo "proc p"
  10. type Foo {. mqualifiedmacro.m("Bar") .} = object
  11. doAssert Bar is object