Hello! I'm getting my hands dirty with ooc, and my first attempt to make a program was an empty main function that returns 0 (very simple, to get the taste of ooc's syntax):
main: func (args: String[]) -> Int {
return 0
}And it failed. Worse, rock crashed. I got
this output. But, when I add something to the function, like in here:
main: func (args: String[]) -> Int {
"Test!" println()
return 0
}It compiles flawlessly and works. What am I missing?