-
Notifications
You must be signed in to change notification settings - Fork 35
TREMLEntities.MapToEntity
doesn't perform per description
#84
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Need to check how this method is used. If calling code depends on out of spec behaviour then update comments else correct the code. |
Line 655 in 02656b8
This code tests the method's return value against the empty string, so this is what it is expecting. So, it looks like the method acts as expected and the comments are wrong. I think the actual behaviour is reasonable because the code is supposed to be return an entity if one exists. Furthermore, the calling code has to wrap the entity between Maybe renaming to |
The comments for both |
codesnip/Src/UREMLDataIO.pas
Line 904 in 02656b8
Description says this function returns the character itself if it is printable ASCII, but it returns the empty string in this case.
The text was updated successfully, but these errors were encountered: