give dynamic predicates a better respect for module bounds
This commit is contained in:
@@ -66,7 +66,8 @@ impl MachineError {
|
||||
pub(super) fn session_error(h: usize, err: SessionError) -> Self {
|
||||
match err {
|
||||
SessionError::ParserError(err) => Self::syntax_error(h, err),
|
||||
SessionError::CannotOverwriteBuiltIn(pred_str)
|
||||
SessionError::CannotOverwriteDynamicClause(pred_str)
|
||||
| SessionError::CannotOverwriteBuiltIn(pred_str)
|
||||
| SessionError::CannotOverwriteImport(pred_str) =>
|
||||
Self::permission_error(PermissionError::Modify, pred_str),
|
||||
SessionError::ModuleDoesNotContainExport =>
|
||||
|
||||
Reference in New Issue
Block a user