pocketlang/tests/lang/import/globals.pk
Thakee Nathees 8c039b5d77 fn, cls moved to constants buffer
functions and classes are moved to constant buffer, and forward
names are resolved for globals.
2022-04-11 00:02:21 +05:30

11 lines
100 B
Plaintext

module g_import
def get_a_value()
return "foobar"
end
g_var_1 = 1 + 2
g_var_2 = get_a_value()