diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-06-17 17:33:32 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-06-17 17:33:32 -0400 |
| commit | 7e261bea9b303ff2cc24464c5400100f72badfaf (patch) | |
| tree | a2cb06a4560e698b7cd0ea7128b180cfe3a84e9c /test/import.tm | |
| parent | 1621968fc82f17708c1d5b6f5bd65ba2244269a3 (diff) | |
Fix 'use' test to use 'import' instead
Diffstat (limited to 'test/import.tm')
| -rw-r--r-- | test/import.tm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/import.tm b/test/import.tm new file mode 100644 index 00000000..58f4e451 --- /dev/null +++ b/test/import.tm @@ -0,0 +1,9 @@ +imported := import ./use_import + +func asdf()->imported.ImportedType: + return imported.get_value() + +func main(): + >> [:imported.ImportedType] + >> asdf() + = ImportedType(name="Hello") |
