]> Repositorios git - scryer-prolog.git/commitdiff
use representation_error rather than resource_error
authorSkgland <[email protected]>
Mon, 25 Aug 2025 18:14:14 +0000 (20:14 +0200)
committerBennet Bleßmann <[email protected]>
Mon, 25 Aug 2025 18:14:14 +0000 (20:14 +0200)
src/machine/machine_errors.rs

index db16d377135100e4e334b56d4ec0932e1ef44e1a..22afc03a0f4f972c7f2383dc173dd723e0c395af 100644 (file)
@@ -603,9 +603,10 @@ impl MachineState {
         }
     }
 
+    #[allow(dead_code)] // not used when all features are enabled
     pub(super) fn missing_feature_error(&self, feature: Atom) -> MachineError {
         let stub = functor!(
-            atom!("resource_error"),
+            atom!("representation_error"),
             [functor(
                 (functor!(atom!("feature"), [atom_as_cell((feature))]))
             )]