Commit 1fc6c76e authored by Sean DuBois's avatar Sean DuBois

Export members for Class and Thunk struct

parent d014bb4a
......@@ -400,14 +400,14 @@ func (d *Decoder) loadBinPersid() error {
}
type Thunk struct {
class Class
args []interface{}
Class Class
Args []interface{}
}
func (d *Decoder) reduce() error {
args := d.pop().([]interface{})
class := d.pop().(Class)
d.stack = append(d.stack, Thunk{class: class, args: args})
d.stack = append(d.stack, Thunk{Class: class, Args: args})
return nil
}
......@@ -536,8 +536,8 @@ func (d *Decoder) build() error {
}
type Class struct {
module,
name string
Module,
Name string
}
func (d *Decoder) global() error {
......@@ -549,7 +549,7 @@ func (d *Decoder) global() error {
if err != nil {
return nil
}
d.stack = append(d.stack, Class{module: string(module), name: string(name)})
d.stack = append(d.stack, Class{Module: string(module), Name: string(name)})
return nil
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment