throw permission_error in compile_assert when attempting to assert a built-in (#1872)
This commit is contained in:
@@ -442,7 +442,7 @@ impl MachineState {
|
||||
// SessionError::CannotOverwriteImport(pred_atom) => {
|
||||
self.permission_error(
|
||||
Permission::Modify,
|
||||
atom!("private_procedure"),
|
||||
atom!("static_procedure"),
|
||||
functor_stub(key.0, key.1).into_iter().collect::<MachineStub>(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user