Export to GitHub

gelo - issue #28

Namespace .Del can be forced to raise an error


Posted on Jul 7, 2010 by Grumpy Giraffe

A VM is not allowed to write to its parents's namespaces, removing an item from a namespace cannot fail. So at present if you attempt to delete an item owned by a parent the only recourse is to crash. Solution: Each vm shall have a "black list" set (a map[string]bool, created only if used) that such deletions can be recorded in and future namespace lookups fail if the searched name is in the blacklist.

Comment #1

Posted on Jul 7, 2010 by Grumpy Giraffe

This issue was closed by revision 9f97421912.

Status: Fixed

Labels:
Type-Enhancement Priority-Critical