OSDN Git Service

libgo: Update to weekly.2012-01-15.
[pf3gnuchains/gcc-fork.git] / libgo / go / exp / types / universe.go
index 780b826..46cff31 100644 (file)
@@ -20,6 +20,7 @@ func define(kind ast.ObjKind, name string) *ast.Object {
        if scope.Insert(obj) != nil {
                panic("types internal error: double declaration")
        }
+       obj.Decl = scope
        return obj
 }