Skip to content
Snippets Groups Projects
Commit 2a903aef authored by arthur-adjedj's avatar arthur-adjedj
Browse files

chore : comment TODO

parent 47c59414
No related merge requests found
......@@ -26,6 +26,7 @@ impl Declaration {
pub fn get_type(&self, vec: &[UniverseLevel]) -> Term {
if self.univ_vars != vec.len() {
//TODO wrap in a Result monad
panic!(
"wrong type of universe arguments, expected {}, found {}",
self.univ_vars,
......@@ -38,6 +39,7 @@ impl Declaration {
pub fn get_term(&self, vec: &[UniverseLevel]) -> Option<Term> {
if self.univ_vars != vec.len() {
//TODO wrap in a Result monad
panic!(
"wrong type of universe arguments, expected {}, found {}",
self.univ_vars,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment