summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-07 10:58:48 +0100
committerGitHub <noreply@github.com>2018-11-07 10:58:48 +0100
commitc2c05f5e724b8fe5380e6e45f3c1bcf48359915a (patch)
tree42c74eb22958b8809103ba6c03504caa32d01847 /lib
parentfc740c54ec7af592ff3486c8cc296bb4f65eb340 (diff)
downloadNim-c2c05f5e724b8fe5380e6e45f3c1bcf48359915a.tar.gz
fix #9639 (#9640)
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/complex.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/complex.nim b/lib/pure/complex.nim
index 8c191f731..69d9c0f7f 100644
--- a/lib/pure/complex.nim
+++ b/lib/pure/complex.nim
@@ -21,7 +21,7 @@ import math
 
 type
   Complex*[T: SomeFloat] = object
-    re, im: T
+    re*, im*: T
     ## A complex number, consisting of a real and an imaginary part.
   Complex64* = Complex[float64]
     ## Alias for a pair of 64-bit floats.