From 3590bf34071bfdfe4d18bb8b32e4c88869bc5f7b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Apr 2024 14:58:33 -0400 Subject: Better imports for types --- test/use.tm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/use.tm (limited to 'test/use.tm') diff --git a/test/use.tm b/test/use.tm new file mode 100644 index 00000000..a759180a --- /dev/null +++ b/test/use.tm @@ -0,0 +1,9 @@ +imported := use ./use_import + +func asdf()->imported.ImportedType + return imported.get_value() + +func main() + >> [:imported.ImportedType] + >> asdf() + = ImportedType(name="Hello") -- cgit v1.2.3