diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-18 20:05:36 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-19 18:02:45 +0100 |
| commit | 0968d7a4c7a9c4daf90b18de51cac08ce199f142 (patch) | |
| tree | 11b8a9340ee24b25f493cf36f7947569b7d539c3 /src | |
| parent | 98001dd938b4fc176a7ce9b044415ca0b581cad7 (diff) | |
| download | sylt-0968d7a4c7a9c4daf90b18de51cac08ce199f142.tar.gz | |
fix spelling
Co-authored-by: Gustav Sörnäs <gustav@sornas.net>
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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."); } _ => {} } |
