aboutsummaryrefslogtreecommitdiff
path: root/test/import.tm
blob: e6a9b4ae49cbc2f13b897fc30692616d8bd51667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
imported := use ./use_import.tm

func asdf()->imported.ImportedType:
	return imported.get_value()

func main():
	>> [:imported.ImportedType]
	>> asdf()
	= ImportedType(name="Hello")

	>> imported.needs_initializing
	= 999999999999999999