History

Fix bug in limbo compiler when generating stubs/types/etc for Limbo modules containing 'exception' types.

arr committed 9 years ago

Commit 1f4bace1 parent 30fdb691 file · +3 −1Browse files

Unified · Split

limbo/compiler/typecheck.b+3−1
@@ -759,9 +759,11 @@ concheck(n: ref Node, isglobal: int) · 758 unmodified lines
759759 exname(d: ref Decl): string
760760 {
761761 s := "";
762− m := impmods.sym;
762+ m : ref Sym;
763763 if(d.dot != nil)
764764 m = d.dot.sym;
765+ else if(impmods != nil)
766+ m = impmods.sym;
765767 if(m != nil)
766768 s += m.name+".";
767769 if(fndec != nil)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t