Calling .pull on a map should do the same thing as .pop (since order of keys in a map is undefined), and it does so in the C# version. But in the C++ implementation, it generates a runtime error.
There's code for handling maps in intrinsic_pull, so it looks like this one is simply missing from the definition of Intrinsics::MapType.
Calling
.pull
on a map should do the same thing as.pop
(since order of keys in a map is undefined), and it does so in the C# version. But in the C++ implementation, it generates a runtime error.There's code for handling maps in intrinsic_pull, so it looks like this one is simply missing from the definition of Intrinsics::MapType.