first implementation of package level types that allow forwarding across module boundaries

This commit is contained in:
Andreas Rumpf 2017-10-28 15:28:59 +02:00
commit 7889692523
7 changed files with 47 additions and 21 deletions

View file

@ -6,12 +6,8 @@ discard """
{.this: self.}
type
Foo {.partial.} = object
a, b: int
type
tupcomingfeatures.Foo = object
x: int
Foo = object
a, b, x: int
proc yay(self: Foo) =
echo a, " ", b, " ", x