2020-07-08 05:53:37 +03:00
|
|
|
function foo() -> field {
|
2020-07-17 22:59:18 +03:00
|
|
|
return myGlobal
|
2020-05-21 01:51:57 +03:00
|
|
|
}
|
|
|
|
|
2020-07-30 22:10:33 +03:00
|
|
|
function main() {
|
2021-03-18 22:19:07 +03:00
|
|
|
const myGlobal = 42field;
|
|
|
|
const err = foo();
|
2020-05-21 01:51:57 +03:00
|
|
|
}
|