q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=79a01f9ab3dc49ccc16d3a7e65d4d93479effea9

commit 79a01f9ab3dc49ccc16d3a7e65d4d93479effea9
Author: Daniel Kolesa <[email protected]>
Date:   Mon Mar 2 16:10:32 2015 +0000

    elua: take __tostring from object metatable on robjects
---
 src/scripts/elua/core/util.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/scripts/elua/core/util.lua b/src/scripts/elua/core/util.lua
index 246ea6c..2e176cb 100644
--- a/src/scripts/elua/core/util.lua
+++ b/src/scripts/elua/core/util.lua
@@ -110,7 +110,7 @@ M.Readonly_Object.__call = function(self, ...)
     local r = newproxy(true)
     local rmt = getmetatable(r)
     rmt.__index = self
-    rmt.__tostring = self.__tostring
+    rmt.__tostring = Object_MT.__tostring
     rmt.__metatable = false
     if self.__enable_dtor then
         rmt.__gc = robj_gc

-- 


Reply via email to