diff options
Diffstat (limited to 'src/ltm.js')
-rw-r--r-- | src/ltm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ const luaT_objtypename = function(L, o) { (o.ttisfulluserdata() && (mt = o.value.metatable) !== null)) { let name = ltable.luaH_getstr(mt, defs.to_luastring('__name', true)); if (name.ttisstring()) - return name.value; + return name.svalue(); } return ttypename(o.ttnov()); }; |