Another error message that could be more helpful is
in type_check.lua:

            return nil, "Type mismatch on field "..context..name..":
invalid value "..item

More informative would be:

            return nil, "Format mismatch on field "..context..name..":
invalid value "..item.." does not match '"..expected.."'"

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to