]> Repositorios git - scryer-prolog.git/commitdiff
terms containing attributed variables are not ground (#239)
authorMark Thom <[email protected]>
Wed, 27 Nov 2019 18:13:18 +0000 (14:13 -0400)
committerMark Thom <[email protected]>
Wed, 27 Nov 2019 18:13:18 +0000 (14:13 -0400)
src/prolog/machine/machine_state_impl.rs

index 60713510d34ab465c15c8d104022965b08f3dc19..f48d77ff3d8a985303ced86873e4ae0a995dd705 100644 (file)
@@ -3109,6 +3109,7 @@ impl MachineState {
             match v {
                 HeapCellValue::Addr(Addr::HeapCell(..)) => return true,
                 HeapCellValue::Addr(Addr::StackCell(..)) => return true,
+                HeapCellValue::Addr(Addr::AttrVar(..)) => return true,
                 _ => {}
             }
         }