t10734.nim 620 B

1234567891011121314151617181920
  1. discard """
  2. cmd: "nim check $file"
  3. errormsg: ""
  4. nimout: '''
  5. t10734.nim(19, 1) Error: invalid indentation
  6. t10734.nim(19, 6) Error: invalid indentation
  7. t10734.nim(20, 7) Error: expression expected, but found '[EOF]'
  8. t10734.nim(18, 5) Error: 'proc' is not a concrete type; for a callback without parameters use 'proc()'
  9. t10734.nim(19, 6) Error: undeclared identifier: 'p'
  10. t10734.nim(19, 6) Error: expression 'p' has no type (or is ambiguous)
  11. t10734.nim(19, 6) Error: 'p' cannot be assigned to
  12. t10734.nim(17, 3) Hint: 'T' is declared but not used [XDeclaredButNotUsed]
  13. '''
  14. """
  15. type
  16. T = object
  17. a:
  18. proc p =
  19. case