properly handle undefined predicates declared dynamic
This commit is contained in:
@@ -48,6 +48,7 @@ impl fmt::Display for REPLCodePtr {
|
||||
impl fmt::Display for IndexPtr {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match self {
|
||||
&IndexPtr::DynamicUndefined => write!(f, "undefined"),
|
||||
&IndexPtr::Undefined => write!(f, "undefined"),
|
||||
&IndexPtr::Index(i) => write!(f, "{}", i),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user