tlaxeffects.nim 159 B

123456789101112
  1. discard """
  2. cmd: "nim $target $options --legacy:laxEffects $file"
  3. """
  4. type
  5. Foo = object
  6. bar: seq[Foo]
  7. proc `==`(a, b: Foo): bool =
  8. a.bar == b.bar