move Parser.mkFnDecl => ast.Node.mkFnDecl

This commit is contained in:
Luna 2019-09-20 13:54:52 -03:00
parent d69365ba92
commit 250631ff41
3 changed files with 31 additions and 23 deletions

View file

@ -7,5 +7,5 @@ fn add(a: i32, b: i32) i32 {
// type is void by default
fn main() {
std.fmt.print("piss\n");
// std.fmt.print("2 + 2 = %d\n", add(1, 2));
std.fmt.print("2 + 2 = %d\n", add(1, 2));
}