Added aliasing of standard as a feature of standard

This commit is contained in:
2022-09-24 07:20:26 +01:00
parent f745470abe
commit aa44d5fd43
7 changed files with 23 additions and 22 deletions

View File

@@ -39,4 +39,12 @@
}
//test importing as an alias
{
import standard as std;
assert std["clock"]().length() == 24, "import library as alias failed";
}
print "All good";