]> Cypherpunks repositories - gostls13.git/commitdiff
gc: fix export of complex types
authorRuss Cox <rsc@golang.org>
Tue, 1 Jun 2010 21:48:57 +0000 (14:48 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 1 Jun 2010 21:48:57 +0000 (14:48 -0700)
R=ken2
CC=golang-dev
https://golang.org/cl/1442042

src/cmd/gc/subr.c

index cf7b1865cfb236b7081b7236265dbba1ac7fcf14..ac700b4c0eb9ae2c174ce4c05d529f5a75614aba 100644 (file)
@@ -1123,6 +1123,9 @@ basicnames[] =
        [TFLOAT]        = "float",
        [TFLOAT32]      = "float32",
        [TFLOAT64]      = "float64",
+       [TCOMPLEX]      = "complex",
+       [TCOMPLEX64]    = "complex64",
+       [TCOMPLEX128]   = "complex128",
        [TBOOL]         = "bool",
        [TANY]          = "any",
        [TSTRING]       = "string",