tambparam_legacy.nim 404 B

123456789101112131415
  1. import mambparam2, mambparam3
  2. echo test #[tt.Error
  3. ^ type mismatch: got <string | string>
  4. but expected one of:
  5. proc echo(x: varargs[typed, `$$`])
  6. first type mismatch at position: 1
  7. required type for x: varargs[typed]
  8. but expression 'test' is of type: None
  9. ambiguous identifier: 'test' -- use one of the following:
  10. mambparam1.test: string
  11. mambparam3.test: string
  12. expression: echo test]#