-
Notifications
You must be signed in to change notification settings - Fork 12
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
Parsing of SUT messages can result in a MultipleDefinitions error #946
Comments
A quick analysis shows that the problem is that transforming the string
I.e. two data types have the same constructor (name and argument). imho TorXakis should be able to distinguish these two data types, since only |
Thanks for the quick answer. Changing the typedef works:
What should I do with the issue, close it? |
The function @brampetersen lets keep the error open as a reminder to improve this! |
Changed title to better reflect isssue: |
Note: In refactorAll branch is this problem absent, since
|
Hi,
TorXakis seems to behave weird when a type only has a single string argument when using the tester. The stepper works fine but when I use the tester it returns the "hGetLine: end of file" error. In the tester I use the following Python string encode (works fine for every other message format):
connection.sendall(str.encode('M(\"Up command\")\n'))
Model:
Output torxakis:
Output txsserver:
The strange thing is, if an argument is added, like:
Then change:
and:
connection.sendall(str.encode('M(\"Up command\", 1)\n'))
It works fine:
The text was updated successfully, but these errors were encountered: