mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-05 17:26:31 +03:00
9 lines
176 B
Plaintext
9 lines
176 B
Plaintext
from "./path/to/my/module" import MySymbol
|
|
|
|
def foo() -> (field):
|
|
// return myGlobal <- not allowed
|
|
return 42
|
|
|
|
def main() -> (field):
|
|
myGlobal = 42
|
|
return foo() |