Skip to content

Commit

Permalink
backport of 66295 (#66301)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaystg authored Mar 10, 2022
1 parent 8a48736 commit 4afa671
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mono/wasm/runtime/library_mono.js
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,11 @@ var MonoSupportLib = {
_create_proxy_from_object_id: function (objectId, details) {
if (objectId.startsWith ('dotnet:array:'))
{
if (details.items === undefined)
{
const ret = details.map (p => p.value);
return ret;
}
if (details.dimensionsDetails == undefined || details.dimensionsDetails.length == 1)
{
const ret = details.items.map (p => p.value);
Expand Down

0 comments on commit 4afa671

Please sign in to comment.