section on errors

This commit is contained in:
sejo 2021-10-27 15:51:35 -05:00
parent f0963e74af
commit 490fd08231
1 changed files with 23 additions and 0 deletions

View File

@ -3,3 +3,26 @@
> Mu is a minimal-dependency hobbyist computing stack
=> https://github.com/akkartik/mu mu repository
=> http://akkartik.name/akkartik-convivial-20200607.pdf bicycles for the mind have to be see-through
# notes / runbook
## some errors
when there was a mismatch between a function header return register, and the register where the function call was performed:
```
register for output 'x' is not right
```
example code that triggers it:
```
fn f -> _/eax: int {
return 3
}
fn main {
var x/ecx: int <- f
}
```