From 09f84a75bc63a6316d575f531489d69ec8ade2e8 Mon Sep 17 00:00:00 2001 From: Ingo Oeser Date: Fri, 14 Jun 2013 23:22:50 +0200 Subject: Imported Upstream version 1.1.1 --- src/cmd/gc/export.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/cmd/gc/export.c') diff --git a/src/cmd/gc/export.c b/src/cmd/gc/export.c index b7311665a..4a9b8c8ba 100644 --- a/src/cmd/gc/export.c +++ b/src/cmd/gc/export.c @@ -164,13 +164,17 @@ reexportdep(Node *n) case ODOTTYPE: case ODOTTYPE2: case OSTRUCTLIT: + case OARRAYLIT: case OPTRLIT: + case OMAKEMAP: + case OMAKESLICE: + case OMAKECHAN: t = n->type; if(!t->sym && t->type) t = t->type; if(t && t->sym && t->sym->def && !exportedsym(t->sym)) { if(debug['E']) - print("reexport type for convnop %S\n", t->sym); + print("reexport type for expression %S\n", t->sym); exportlist = list(exportlist, t->sym->def); } break; -- cgit v1.2.3