mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
fix a bug
This commit is contained in:
parent
40a181a767
commit
7329c4288d
2
src/vm.h
2
src/vm.h
@ -1080,7 +1080,7 @@ public:
|
||||
ThreadedVM *tvm = dynamic_cast<ThreadedVM*>(vm);
|
||||
if(tvm == nullptr) UNREACHABLE();
|
||||
tvm->__checkArgSize(args, 1);
|
||||
tvm->__checkType(args[0], vm->_types["dict"_c]);
|
||||
tvm->__checkType(args[0], vm->builtins->attribs["dict"_c]);
|
||||
return tvm->jsonRpc(args[0]);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user