Each revaluation currently yields a new set of classes, since classes are stateless this kind-of looks okay but it means the connection between instances and classes are not there.
Since these classes share the same proxy functions, it looks like they are being updated but an instance of Robot created in a previous revaluation will not be an instanceof a later revaluated Robot class, which is just wrong behaviour since this means you cannot add or remove properties to instances.
Each revaluation currently yields a new set of classes, since classes are stateless this kind-of looks okay but it means the connection between instances and classes are not there.
Since these classes share the same proxy functions, it looks like they are being updated but an
instance
ofRobot
created in a previous revaluation will not be aninstanceof
a later revaluatedRobot
class, which is just wrong behaviour since this means you cannot add or remove properties to instances.