add rudimentary return type analysis for call exprs
This commit is contained in:
parent
04c624e210
commit
5036be02e3
2 changed files with 27 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
// import std;
|
||||
|
||||
fn f() i32 {
|
||||
return 2;
|
||||
}
|
||||
|
||||
const (
|
||||
AWOO = 1 + 2
|
||||
piss = f() + 3
|
||||
)
|
||||
|
||||
enum B {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue