error: TODO: expressions are not yet supported at the file scope
I get this message when I run this code from docs.
Error:
![No description](https://cdn.answeroverflow.com/1149791364310114304/image.png)
3 Replies
Hi @ekjokesunaukya congrats on having the first question!
Expressions have to be inside a
def
or fn
so you just have to move it to:
Support for expressions outside a fn
or def
(file scope) will be implemented laterThanks for the prompt reply and the help, @Jack Clayton ! Have a great day!
No worries you too 😄