updated inference_context error msg

This commit is contained in:
pca006132 2021-06-28 16:36:24 +08:00
parent f43e225845
commit eb12f6f082

View File

@ -106,7 +106,7 @@ impl<'a> InferenceContext<'a> {
if *x { if *x {
Ok(t.clone()) Ok(t.clone())
} else { } else {
Err("unbounded identifier".into()) Err("may not be defined".into())
} }
} else { } else {
match self.resolver.get_symbol_type(name) { match self.resolver.get_symbol_type(name) {