DQNEO / babygo

babygo👶 is a small Go compiler made from scratch, which can compile itself. It's going to be the smallest and simplest go compiler in the world.
MIT License
291 stars 20 forks source link

main.go: Eliminate getCallResultTypes #97

Closed DQNEO closed 1 year ago

DQNEO commented 1 year ago

Basically type resolution should be done in walkCallExpr() . Actually most logic is pretty similar.

DQNEO commented 1 year ago

Done in 1d86dbc443072e8c161222a06d0bae9065eb9c43