zevv/with

Doesn't work with inheritence

alaviss opened this issue · 1 comments

The following code won't compile:

import with

type
  Base = object of RootObj
    a: int

  Inherit = object of Base

var i = Inherit()
with i:
  echo a
zevv commented

Very true.

Fixed in 0.3.0