diff options
author | Araq <rumpf_a@web.de> | 2011-03-27 00:33:20 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-03-27 00:33:20 +0100 |
commit | dc669155e39007f1b584eef247dff90523f836bf (patch) | |
tree | 5233362a6af2ac7232159ffebb7bfc19ea27026b /tests/accept/compile | |
parent | 45f8d31c4718fb20498b16a621f3d14b3056b5cc (diff) | |
download | Nim-dc669155e39007f1b584eef247dff90523f836bf.tar.gz |
some little bugfixes
Diffstat (limited to 'tests/accept/compile')
-rw-r--r-- | tests/accept/compile/tcan_inherit_generic.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/accept/compile/tcan_inherit_generic.nim b/tests/accept/compile/tcan_inherit_generic.nim index fa92c7986..76d9fab1f 100644 --- a/tests/accept/compile/tcan_inherit_generic.nim +++ b/tests/accept/compile/tcan_inherit_generic.nim @@ -6,5 +6,12 @@ type TGen[T] = object + x, y: T + TSpef[T] = object of TGen[T] + +var s: TSpef[float] +s.x = 0.4 +s.y = 0.6 + |