ast_printer: print scopes inside functions

- comp_ctx: add children attr for debug info
This commit is contained in:
Luna 2019-09-26 16:58:57 -03:00
parent 97c2437d97
commit 64e39a6f1e
3 changed files with 25 additions and 3 deletions

View file

@ -3,7 +3,7 @@ const (
)
fn f() i32 {
var a = 3;
//var a = 3;
return 2;
}