Address comments

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-07-01 11:19:28 -04:00
1 parent d0fd065096
commit 4da665d3ba
9 files changed
+79 -134

No files matched your search

+2
View File
@@ -61,6 +61,8 @@ pub enum ExpressionError {
Type(#[from] ResolveError),
#[error("Not a global variable")]
ExpectedGlobalVariable,
#[error("Not a global variable or a function argument")]
ExpectedGlobalOrArgument,
#[error("Calling an undeclared function {0:?}")]
CallToUndeclaredFunction(Handle<crate::Function>),
#[error("Needs to be an image instead of {0:?}")]