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

Conditions involving enum types do not produce a translation #194

Open
ariannab opened this issue Jan 16, 2018 · 0 comments
Open

Conditions involving enum types do not produce a translation #194

ariannab opened this issue Jan 16, 2018 · 0 comments
Assignees
Labels

Comments

@ariannab
Copy link
Collaborator

Comments like the following ones are not translated by Toradocu:

Comment: a code representing the point status: either Location#INSIDE, Location#OUTSIDE or Location#BOUNDARY.
Expected condition: result.equals(Location.INSIDE)||result.equals(Location.OUTSIDE)||result.equals(Location.BOUNDARY)
Actual condition:

Comment: one of Side#PLUS Side.PLUS, Side#MINUS Side.MINUS, Side#BOTH Side.BOTH or Side#HYPER Side.HYPER (the latter result can occur only if the tree contains only one cut hyperplane).
Expected condition: result.equals(Side.PLUS)||result.equals(Side.MINUS)||result.equals(Side.BOTH)||result.equals(Side.HYPER)
Actual condition:

This can be solved by improving the source parsing.

@ariannab ariannab self-assigned this Jan 16, 2018
@ariannab ariannab added the bug label Jan 16, 2018
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