class attribute to lua

vkyii 00 <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Hello,
I have build luabind with boost_1_46_1 + lua-5.1.4 + luabind-0.9.1.
And I cann't run the tests smoothly, one of the problem is in file
[test/test_attributes.cpp]
 * DOSTRING(L, "test = property()\n");*
*  DOSTRING(L, "test.c.a = 1\n"*
*  "assert(test.c.a == 1)\n"*
*  "assert(test.c_ref.a == 1)"*
* );*
it produces the error:
[string "test.c.a = 1..."]:1: attempt to index field 'c' (a function value)

Did I miss some important information?

Best Regards

vkyii

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.