dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.25k stars 4.45k forks source link

[wasm][debugger] Support indexing by non-mathematical expression #76015

Open ilonatommy opened 1 year ago

ilonatommy commented 1 year ago

Add to EvaluateIndexingByExpression.EvaluateIndexingByExpression test lines:

("f[\"str1\" + \"str2\"]",TBool(true)),
("f.indexedByBool[!true]",TString("FALSE")), 
("f.indexedByStr[\"1\" + \"11\"]",TBool(false)), // this will work only after fixing https://github.com/dotnet/runtime/issues/76013

or something similar and make them work.

ghost commented 1 year ago

Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.

Issue Details
Add to `EvaluateIndexingByExpression.EvaluateIndexingByExpression` test lines: ``` ("f[\"str1\" + \"str2\"]",TBool(true)), ("f.indexedByBool[!true]",TString("FALSE")), ("f.indexedByStr[\"1\" + \"11\"]",TBool(false)), // this will work only after fixing https://github.com/dotnet/runtime/issues/76013 ``` or something similar and make them work.
Author: ilonatommy
Assignees: ilonatommy
Labels: `arch-wasm`, `area-Debugger-mono`
Milestone: 8.0.0