https://bugs.documentfoundation.org/show_bug.cgi?id=170694

--- Comment #5 from Carlos R. Esp <[email protected]> ---
Hello,

I have submitted a patch as a proposal to fix this problem:

https://gerrit.libreoffice.org/c/core/+/202944 tdf#170694: librelogo: restore
SQRT and LOG10

As you reported, these imports were accidentally removed because they were
reported as unused imports, so I imported them with the comment # noqa: F401 to
prevent the same warning again.

In this change, I discarded the inclusion of more functions since only LOG10
and SQRT are documented and translated. Undocumented functions like ASIN or
HYPOT are usable in LibreLogo programs only as a side effect because they are
needed for the drawing.

To be able to write unit tests for the fix, I decided to expose the last
message presented to the user by LibreLogo, because I didn't found another way
to get it from the tests and I think that it can be a useful way for testing
more code in the future. These tests are based in others that I designed before
for another change that I submitted before and is waiting to be accepted
(tdf#169977).

I hope it to be useful, thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to