tomo/test/import.tm

13 lines
237 B
Plaintext
Raw Normal View History

imported := use ./use_import.tm
2024-04-21 11:58:33 -07:00
2024-04-28 11:58:55 -07:00
func asdf()->imported.ImportedType:
2024-04-21 11:58:33 -07:00
return imported.get_value()
2024-04-28 11:58:55 -07:00
func main():
2024-04-21 11:58:33 -07:00
>> [:imported.ImportedType]
>> asdf()
= ImportedType(name="Hello")
>> imported.needs_initializing
= 999999999999999999