-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[wasm][debugger] Support passing negative/positive numbers to methods. #92754
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -497,6 +497,10 @@ await EvaluateOnCallFrameAndCheck(id, | |
|
|
||
| ("test.GetDefaultAndRequiredParam(2)", TNumber(5)), | ||
| ("test.GetDefaultAndRequiredParam(3, 2)", TNumber(5)), | ||
| ("test.GetDefaultAndRequiredParam(3, +2)", TNumber(5)), | ||
| ("test.GetDefaultAndRequiredParam(3, -2)", TNumber(1)), | ||
| ("test.GetDefaultAndRequiredParam(-123l, -1.1f)", TNumber("-124.1", isDecimal: true)), // long, float | ||
| ("test.GetDefaultAndRequiredParam(-0.23)", TNumber("-32768.23", isDecimal: true)), // double, short | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is missing the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Short is optional param of value
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ("test.GetDefaultAndRequiredParam(3, +2)", TNumber(5)),
("test.GetDefaultAndRequiredParam(3, -2)", TNumber(1)),
("test.GetDefaultAndRequiredParam(-123l, -1.1f)", TNumber("-124.1", isDecimal: true)),
Do the changes in this PR also affect passing a negative number as an argument to a method? |
||
| ("test.GetDefaultAndRequiredParamMixedTypes(\"a\")", TString("a; -1; False")), | ||
| ("test.GetDefaultAndRequiredParamMixedTypes(\"a\", 23)", TString("a; 23; False")), | ||
| ("test.GetDefaultAndRequiredParamMixedTypes(\"a\", 23, true)", TString("a; 23; True")) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.