XXX we shouldn't create empty fields... this was the old design, now we create the entire vector structure and page in leaves, offsets, etc on demand
(typ *super.TypeError, vals Any)
| 15 | // XXX we shouldn't create empty fields... this was the old design, now |
| 16 | // we create the entire vector structure and page in leaves, offsets, etc on demand |
| 17 | func NewError(typ *super.TypeError, vals Any) *Error { |
| 18 | return &Error{typ, vals} |
| 19 | } |
| 20 | |
| 21 | func (*Error) Kind() Kind { |
| 22 | return KindError |