aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-09 19:52:46 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-09 19:52:46 -0700
commit782383975cb9ff7ebfd2f8c88d9fd5518e2e11e2 (patch)
tree61c390ddb78b00ca4cc6346bf12041e2667f280d
parent88add732c7f7607d8bad739a1a4560c9c8af87cb (diff)
Added type of alias.
-rw-r--r--lib/metaprogramming.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom
index 408726c..b26deb4 100644
--- a/lib/metaprogramming.nom
+++ b/lib/metaprogramming.nom
@@ -53,7 +53,7 @@ rule [%tree as value] =:
lua expr "nomsu:tree_to_value(\(%tree), vars)"
compile [repr %obj] to:
"nomsu:repr(\(%obj as lua))"
-compile [type %obj] to:
+compile [type %obj, type of %obj] to:
"type(\(%obj as lua))"
parse [lua block %block] as: lua code ".."