analysis: add check of composite types (structs and enums)
- analysis: add bool check for loop condition exprs
This commit is contained in:
parent
dfb954c39c
commit
6543884366
2 changed files with 81 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue