Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNU: UndefinedObject(Object)>>doesNotUnderstand: #compareStates #31

Closed
GoogleCodeExporter opened this issue Aug 19, 2015 · 3 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

Code:

(var count := [1])
(machine m
    (state o)
    (state t (onentry [count value: count value +1]))
    (eps o -> t ot)
    (eps t -> o to)
    )
(spawn m o)

Delete the code, then add

(machine p)

What is the expected output? What do you see instead?

MNU + an error saying machine m is not found. Note that if the interpreter is 
paused before deleting and adding, the error appears when the interpreter is 
unpaused.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by jfa...@gmail.com on 21 Aug 2014 at 4:39

@GoogleCodeExporter
Copy link
Author

I've added a failing test case in commit LiveRobotics-Tests-johanfabry.9 There 
are actually 2 fails in the test case: first the mainmachine is not set right, 
and if that assert is commented out you get the DNU.

Original comment by jfa...@gmail.com on 2 Sep 2014 at 12:12

@GoogleCodeExporter
Copy link
Author

BTW, if you delete the running machine, then the program will restart. So, if 
you add a new machine without a spawn statement, the new machine will not be 
the 'active one' until you spawn your new program again with the new definition

Original comment by m.campus...@gmail.com on 2 Sep 2014 at 8:15

@GoogleCodeExporter
Copy link
Author

fixed in LiveRobotics-Interpreter-mcamp.58

Original comment by m.campus...@gmail.com on 2 Sep 2014 at 8:30

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant