updated inference_context error msg

refactor_anto
pca006132 2021-06-28 16:36:24 +08:00
parent f43e225845
commit eb12f6f082
1 changed files with 1 additions and 1 deletions

View File

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