-
Notifications
You must be signed in to change notification settings - Fork 142
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
add automatic conversion from string to int/float type #921
add automatic conversion from string to int/float type #921
Conversation
Awesome, thank you! Could you also add a test for this? We don't have a separate group of tests for JSON utilities, but a simple test that just verifies that |
…nfo and fall back on error message when not successfull
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
Relates to microsoft/vscode-python#18841
Allow passing strings to the debugger for number-like inputs. With this fix strings will be accepted and automatically converted to int/float.