stop module dynamic predicate modifications from taking on the user module index.

This commit is contained in:
Mark Thom
2019-03-09 00:37:58 -07:00
parent 92c36aa0d9
commit adf9629333
4 changed files with 13 additions and 20 deletions

View File

@@ -26,12 +26,12 @@ impl Machine {
match module.as_str() {
"user" => compile_user_module(self, src),
_ => compile_into_module(self, module, src, name, arity)
_ => compile_into_module(self, module, src, name)
}
},
None => compile_user_module(self, src)
},
_ => compile_into_module(self, name.owning_module(), src, name, arity)
_ => compile_into_module(self, name.owning_module(), src, name)
}
}