add rudimentary return type analysis for call exprs

This commit is contained in:
Luna 2019-09-25 17:17:47 -03:00
parent 04c624e210
commit 5036be02e3
2 changed files with 27 additions and 1 deletions

View file

@ -1,7 +1,11 @@
// import std;
fn f() i32 {
return 2;
}
const (
AWOO = 1 + 2
piss = f() + 3
)
enum B {