tnontype.nim 100 B

12345678910
  1. discard """
  2. errormsg: "expected type, but got: 3"
  3. """
  4. type
  5. Foo = (block:
  6. int)
  7. Bar = 3