aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm.rs b/src/vm.rs
index a5b4af6..a1c58d9 100644
--- a/src/vm.rs
+++ b/src/vm.rs
@@ -605,7 +605,7 @@ impl VM {
let expected = Type::from(&value);
if ty != &expected {
error!(self, ErrorKind::TypeMismatch(expected, ty.clone()),
- "Field and variables type deosn't match.");
+ "Types of field and variable do not match.");
}
} else {
error!(self, ErrorKind::UnkownField(inst, field.clone()));
@@ -662,7 +662,7 @@ impl VM {
if top_type != Type::Unknown => {}
(a, b) if a != &b => {
error!(self, ErrorKind::TypeMismatch(a.clone(), b.clone()),
- "Cannot assign missmatching types.");
+ "Cannot assign mismatching types.");
}
_ => {}
}