diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-08 15:41:19 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-08 16:07:38 +1000 |
commit | e67fb5f4cb51fbf4061ab647ef08ef4893b7f0e4 (patch) | |
tree | f42bc3854fe31ec86324dd55725d1d3ff963cf2e /src/ltm.js | |
parent | 41ad8917ca15b275c8aca20f6e3907a08ae7ad15 (diff) | |
download | fengari-e67fb5f4cb51fbf4061ab647ef08ef4893b7f0e4.tar.gz fengari-e67fb5f4cb51fbf4061ab647ef08ef4893b7f0e4.tar.bz2 fengari-e67fb5f4cb51fbf4061ab647ef08ef4893b7f0e4.zip |
Add accessors to TValue for TString values
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()); }; |