tuninstantiated.nim 280 B

123456789101112131415161718
  1. block: # issue #24450
  2. type
  3. B = object
  4. b: int
  5. A = object
  6. x: int
  7. AConcept = concept
  8. proc implementation(s: var Self, p1: B)
  9. proc implementation(r: var A, p1: B)=
  10. discard
  11. proc accept(r: var AConcept)=
  12. discard
  13. var a = A()
  14. a.accept()