tmodulesymtype.nim 336 B

1234567891011121314151617181920212223
  1. discard """
  2. cmd: "nim check $file"
  3. """
  4. # bug #19225
  5. import std/sequtils
  6. sequtils #[tt.Error
  7. ^ expression has no type: sequtils]#
  8. proc foo() =
  9. block: #[tt.Error
  10. ^ expression has no type: block:
  11. sequtils]#
  12. sequtils
  13. foo()
  14. # issue #23399
  15. when isMainModule:
  16. sequtils #[tt.Error
  17. ^ expression has no type: sequtils]#
  18. discard