diff options
Diffstat (limited to 'pkg/lang/vm/utils.go')
| -rw-r--r-- | pkg/lang/vm/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/lang/vm/utils.go b/pkg/lang/vm/utils.go index 46eccb1..00311ef 100644 --- a/pkg/lang/vm/utils.go +++ b/pkg/lang/vm/utils.go @@ -30,7 +30,7 @@ func (vm *VM) popCallAndDrop() (int, error) { func (vm *VM) getMemCell(ptr mem.Ptr, kind mem.CellKind, allowNil bool) (mem.CellData, error) { if ptr.IsNull() { - return nil, ErrEnvNotSet // TODO: Rename + return nil, ErrNullPtrDereference{At: ptr} } if !vm.memory.Is(ptr, kind) { |
