diff --git a/src/PikaVM.c b/src/PikaVM.c index 777ab8710..88c315fe2 100644 --- a/src/PikaVM.c +++ b/src/PikaVM.c @@ -908,6 +908,10 @@ exit: } static Arg* VM_instruction_handler_IMP(PikaObj* self, VMState* vs, char* data) { + /* the module is already imported, skip. */ + if(obj_isArgExist(self, data)){ + return NULL; + } return NULL; }