correct sort/keysort refusing []

This commit is contained in:
Mark Thom
2018-05-03 17:36:59 -06:00
parent df1421dae8
commit e7c2c2cedd
2 changed files with 9 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ impl MachineState {
match self.detect_cycles(usize::max_value(), sorted.clone()) {
CycleSearchResult::NotList if !sorted.is_ref() =>
Err(self.error_form(self.type_error(ValidType::List, sorted))),
Err(self.error_form(self.type_error(ValidType::List, sorted))),
_ => Ok(())
}
}