IronBlock
IronBlock copied to clipboard
ApplicationException when undeclared variable is used
The block "math_change" worked not as aspected.
Here is the error message:
Here is my Example xml: TestResult.txt
I get the error message when i run your unit test with this formular, too.
Originally posted by @Amboryus in https://github.com/richorama/IronBlock/issues/53#issuecomment-956159753
Thank you for posting this error. I believe this is because the 'TestResult' variable is not declared in your blockly program. This is a case that IronBlock currently doesn't handle. I will add support for it.
Thank for your quick answer!
The variable "TestResult" is still declared. When i remove "math_change" from the formular "TestResult" can be handled.
hmm, I wonder if it's a scope problem - I'll continue to investigate...