diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-10-28 15:28:59 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-10-28 15:28:59 +0200 |
commit | 7889692523c5738c901609024ebabf91b44fa719 (patch) | |
tree | 7807d618fd5714c3b7870c348d79efb2985bb8e7 /tests/misc | |
parent | c6235920cbb4a10b03889926ed7d7e2b699ae465 (diff) | |
download | Nim-7889692523c5738c901609024ebabf91b44fa719.tar.gz |
first implementation of package level types that allow forwarding across module boundaries
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/tupcomingfeatures.nim | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/tupcomingfeatures.nim b/tests/misc/tupcomingfeatures.nim index cf07b06df..d37ce85cf 100644 --- a/tests/misc/tupcomingfeatures.nim +++ b/tests/misc/tupcomingfeatures.nim @@ -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 |