Hello there. I was following along with DOCUMENTATION.md, and tried putting the following into a file hello.fm:
import Base#
main : Output
print("Hello, world!")
Then ran:
➜ helloworld fm hello/main
[PARSE-ERROR]
Attempted to re-define 'main', which is already defined as:
- Parse#x39s/main
I noticed the problem on line 4, col 24, file hello.fm:
1| import Base#
2|
3| main : Output
4| print("Hello, world!")
5|
But it could have happened a little earlier.
My parse-robot brain isn't perfect, sorry.
This produces the error message shown above. Is the documentation out of date?
Hello there. I was following along with DOCUMENTATION.md, and tried putting the following into a file
hello.fm
:Then ran:
This produces the error message shown above. Is the documentation out of date?