Fix undefined symbol in API error message

This commit is contained in:
Jason Perkins 2013-09-19 16:40:15 -04:00
parent 542d4c88fb
commit 5946f73f4c

View File

@ -47,7 +47,7 @@
-- make sure there is a handler available for this kind of value -- make sure there is a handler available for this kind of value
if not api.getsetter(field) then if not api.getsetter(field) then
error("invalid kind '" .. kind .. "'", 2) error("invalid kind '" .. field.kind .. "'", 2)
end end
-- add this new field to my master list -- add this new field to my master list