We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8089bfb commit e0e13f3Copy full SHA for e0e13f3
1 file changed
src/annot.rs
@@ -839,7 +839,16 @@ where
839
"string" => unimplemented!(),
840
"null" => chc::Sort::null(),
841
"fn" => unimplemented!(),
842
- _ => unimplemented!(),
+ name => {
843
+ // TODO: ad-hoc
844
+ if let Some(i) =
845
+ name.strip_prefix("T").and_then(|s| s.parse::<usize>().ok())
846
+ {
847
+ chc::Sort::param(i)
848
+ } else {
849
+ unimplemented!();
850
+ }
851
852
};
853
Ok(sort)
854
}
0 commit comments