diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-03-08 19:22:46 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-03-08 19:22:46 +0100 |
| commit | 3bd382ae68eea0b40d60a0491aad760ae757ef2e (patch) | |
| tree | 9694998a8e49807a6e48647ea24ce489fb61a1db /src | |
| parent | ea6adb4ca98d5b272db010ca4de87210abf4b49e (diff) | |
| download | sylt-3bd382ae68eea0b40d60a0491aad760ae757ef2e.tar.gz | |
fix return type error to be correct
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -656,7 +656,7 @@ impl VM { let ret = inner.ret(); if Type::from(&a) != *ret { - error!(self, ErrorKind::TypeMismatch(a.into(), ret.clone()), + error!(self, ErrorKind::TypeMismatch(ret.clone(), a.into()), "Value does not match return type."); } } |
