diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-18 20:06:29 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-19 18:02:45 +0100 |
| commit | 2fa8665203f9e1998c0c3aae6714605f2db2fd4e (patch) | |
| tree | 79826c37394b4bea6e82718bc123531b0040bb30 /src/vm.rs | |
| parent | 0968d7a4c7a9c4daf90b18de51cac08ce199f142 (diff) | |
| download | sylt-2fa8665203f9e1998c0c3aae6714605f2db2fd4e.tar.gz | |
UnkownField -> UnknownField
Diffstat (limited to 'src/vm.rs')
| -rw-r--r-- | src/vm.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -313,7 +313,7 @@ impl VM { let slot = ty.fields.get(field).unwrap().0; self.push(values.borrow()[slot].clone()); } else { - error!(self, ErrorKind::UnkownField(inst, field.clone())); + error!(self, ErrorKind::UnknownField(inst, field.clone())); } } @@ -324,7 +324,7 @@ impl VM { let slot = ty.fields.get(field).unwrap().0; values.borrow_mut()[slot] = value; } else { - error!(self, ErrorKind::UnkownField(inst, field.clone())); + error!(self, ErrorKind::UnknownField(inst, field.clone())); } } @@ -592,7 +592,7 @@ impl VM { } else { let field = field.clone(); self.push(Value::Nil); - error!(self, ErrorKind::UnkownField(inst, field)); + error!(self, ErrorKind::UnknownField(inst, field)); } } @@ -608,7 +608,7 @@ impl VM { "Types of field and variable do not match."); } } else { - error!(self, ErrorKind::UnkownField(inst, field.clone())); + error!(self, ErrorKind::UnknownField(inst, field.clone())); } } |
