tomo/test/import.tm

10 lines
182 B
Plaintext
Raw Normal View History

2024-06-17 14:33:32 -07:00
imported := import ./use_import
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")