diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2017-04-16 20:34:27 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2017-04-16 20:34:27 +0100 |
| commit | 905c4a20d8772e52a3871cc5fb6a2172ae5a2f51 (patch) | |
| tree | f68760bc61f584acb3779fcdab3c2f730b7462a1 /appl | |
| parent | 5da01da38fbf2fd583ece152e95e70885d54d4d3 (diff) | |
change from Aaron R Robinson to fix interface generation when exception types appear
Diffstat (limited to 'appl')
| -rw-r--r-- | appl/cmd/limbo/typecheck.b | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appl/cmd/limbo/typecheck.b b/appl/cmd/limbo/typecheck.b index 5629500b..88060840 100644 --- a/appl/cmd/limbo/typecheck.b +++ b/appl/cmd/limbo/typecheck.b @@ -759,9 +759,11 @@ concheck(n: ref Node, isglobal: int) exname(d: ref Decl): string { s := ""; - m := impmods.sym; + m: ref Sym; if(d.dot != nil) m = d.dot.sym; + else if(impmods != nil) + m = impmods.sym; if(m != nil) s += m.name+"."; if(fndec != nil) |
