analysis: add name type resolution
this only adds resolution for the types. for the actual metadata, such as e.g parameters, that isn't available, so codegen isn't helped by this.
This commit is contained in:
parent
4346636cfa
commit
362fc7e3ef
3 changed files with 44 additions and 4 deletions
|
@ -43,8 +43,7 @@ fn multwo(num: i32, double_flag: bool) i32 {
|
|||
}
|
||||
|
||||
fn multwo_with_one(b: i32) i32 {
|
||||
// TODO replace by b
|
||||
return multwo(2, false) + 2;
|
||||
return multwo(b, false) + b;
|
||||
}
|
||||
|
||||
fn add(a: i32, b: i32) i32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue