Unexpected 'x' when coverting form type string to type uint.
After I copy an example, from the documentation, to the editor, then save and click compile. When I stop the mouse pointer over a token and scroll the mouse up or down, a message box with the title "Bug" appears, see msg, in the attached file.
Comments (13)
-
reporter -
reporter I tested using other code, the error persists.
-
reporter - changed title to Unexpected 'x' when coverting form type string to type uint.
-
reporter - marked as major
-
reporter I am using: poseidonFB_x64_rev512.AppImage.
-
repo owner The issue is because of the different D1 and D2 standard library, for convert hex string to unsigned int, D1(Tango) accept “0x” but D2(phobos) not, I will fix it at next reversion.
But another point, why hex string be send to convertIupColor() function? the color value should be R G B format( like 255 255 255 ), I also check default editorSettings.ini in AppImage.
-
repo owner The D2’s error message is more clear than D1, your pic show the function call history( like gdb ), so I can trace the bug more efficient, thanks~
-
repo owner please turn OFF “Enable Mouse Dwell to Show Type”( Preference ->Parser ), I’ll commit new reversion tonight (GMT +8 )
-
repo owner Fixed at rev.513
The default editorSettings.ini indeed got hex string color….
-
reporter I test this revision 513, a new error:
-
repo owner I can’t reproduce the issue, please try rev514
-
reporter Ok. Revision 514, ide works correctly.
Thanks.
-
repo owner - changed status to resolved
YA
- Log in to comment
The code of documentation what I use: