tpartialcs.nim 194 B

123456789101112131415161718192021
  1. # bug #2551
  2. type Tup = tuple
  3. A, a: int
  4. type Obj = object
  5. A, a: int
  6. var x: Tup # This works.
  7. var y: Obj # This doesn't.
  8. # bug #2212
  9. proc f() =
  10. let
  11. p = 1.0
  12. P = 0.25 + 0.5
  13. f()