analysis: add check of composite types (structs and enums)

- analysis: add bool check for loop condition exprs
This commit is contained in:
Luna 2019-09-26 22:22:11 -03:00
parent dfb954c39c
commit 6543884366
2 changed files with 81 additions and 11 deletions

View file

@ -17,8 +17,13 @@ enum B {
c
}
enum C {
blah
bluh
}
fn test_function() B {
return B.a;
return B.bluh;
}
fn multwo(num: i32, double_flag: bool) i32 {