first implementation of package level types that allow forwarding across module boundaries
This commit is contained in:
parent
c6235920cb
commit
7889692523
7 changed files with 47 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue