t19848.nim 169 B

1234567891011121314151617
  1. discard """
  2. output: '''
  3. todo
  4. '''
  5. """
  6. type
  7. Maybe[T] = object
  8. List[T] = object
  9. proc dump[M: Maybe](a: List[M]) =
  10. echo "todo"
  11. var a: List[Maybe[int]]
  12. dump(a)