t20139.nim 239 B

1234567891011
  1. discard """
  2. joinable: false
  3. """
  4. # bug #20139
  5. import m1/defs as md1
  6. import m2/defs as md2
  7. doAssert $(md1.MyObj(field1: 1)) == """(field1: 1, s: "", ch: '\x00')"""
  8. doAssert $(md2.MyObj(field1: 1)) == """(s: "", field1: 1, ch: '\x00')"""