analysis: add check for call expr's arguments

This commit is contained in:
Luna 2019-09-27 14:31:59 -03:00
parent 3f94082477
commit 4346636cfa
3 changed files with 25 additions and 4 deletions

View file

@ -42,6 +42,11 @@ fn multwo(num: i32, double_flag: bool) i32 {
}
}
fn multwo_with_one(b: i32) i32 {
// TODO replace by b
return multwo(2, false) + 2;
}
fn add(a: i32, b: i32) i32 {
return 69 + 69;
}