tambparam.nim 381 B

1234567891011121314151617
  1. discard """
  2. matrix: "-d:testsConciseTypeMismatch"
  3. """
  4. import mambparam2, mambparam3
  5. echo test #[tt.Error
  6. ^ type mismatch
  7. Expression: echo test
  8. [1] test: string | string
  9. Expected one of (first mismatch at [position]):
  10. [1] proc echo(x: varargs[typed, `$$`])
  11. ambiguous identifier: 'test' -- use one of the following:
  12. mambparam1.test: string
  13. mambparam3.test: string]#