1
0
forked from M-Labs/nac3

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 {
Ok(t.clone())
} else {
Err("unbounded identifier".into())
Err("may not be defined".into())
}
} else {
match self.resolver.get_symbol_type(name) {