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

parsing of double-mul does not catch inputs of incorrect types #2

Open
airballking opened this issue Feb 16, 2016 · 1 comment
Open
Assignees
Labels

Comments

@airballking
Copy link
Member

@mpomarlan reported an error via e-mail to me. I post this for him, here.

The following yaml parses correctly, even though b is not a valid expression:

- a: {vector-sub: [{vector3: [0, 1, 2]}, {vector3: [3, 4, 5]}]}
- b: {double-mul: [-1.0, a]}
@airballking airballking self-assigned this Feb 16, 2016
@airballking
Copy link
Member Author

In a simple scenario an exception is thrown during parsing:

{double-mul: [-1, {vector3: [1, 2, 3]}]}

However, in Mihai's controller specification it passes. He just showed me on his computer. Maybe it has something to do with the parsing of controller specs...

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

No branches or pull requests

1 participant