-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm] [debugger] Eval fixes for static class eval #61660
[wasm] [debugger] Eval fixes for static class eval #61660
Conversation
…natommy/runtime into add-static-attribute-support
…ts that fail in Consol App.
…chance it will be located out of the current assembly.
…-classes-fix-broken-tests
…n-tests Nested static classes fix broken tests
…tion Fix for 4 failing tests of Count evaluation.
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.
This is looking great. It does cause some test failures though, which need to be fixed.
And there are some additional cases that we should look at, but not needed in this PR.
src/mono/wasm/debugger/BrowserDebugProxy/MemberReferenceResolver.cs
Outdated
Show resolved
Hide resolved
src/mono/wasm/debugger/BrowserDebugProxy/MemberReferenceResolver.cs
Outdated
Show resolved
Hide resolved
src/mono/wasm/debugger/BrowserDebugProxy/MemberReferenceResolver.cs
Outdated
Show resolved
Hide resolved
src/mono/wasm/debugger/BrowserDebugProxy/MemberReferenceResolver.cs
Outdated
Show resolved
Hide resolved
…er.cs Co-authored-by: Ankit Jain <[email protected]>
…er.cs Co-authored-by: Ankit Jain <[email protected]>
…PR." This reverts commit 6a1b7ad.
…port Add nested static attribute support
@radical, as discussed I merged nested static evaluation PR with this one. Only 2 more tests fail on this PR in comparison to main and they are connected with lack of method evaluation without namespace (EvaluateStaticClassFromStaticMethod cannot be found in the same namespace it is declared). It will have to be solved in a separate PR. |
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.
Thank you for your patience, LGTM! 👍
Fixes #61462. |
Covering skipped evaluation cases from #61252. To be merged after #61252.
It fixes static classes evaluation and nested static classes evaluation. It changed nested classes access concatenation character: from "/" to ".".
Requires a follow-up Issue to fix the test: EvaluateStaticClassFromStaticMethod with parameters without the full namespace.