zzyycc / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

var source : Object = decodeFunc(withData); Wrong number of arguments. #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have an error flag at Line 52 in LazyJSONLoader.as
 var source : Object = decodeFunc(withData);

Wrong number of arguments. 

When I look at decodeFunc : it does not have any arguments. That is an
arguement is passed to a method that doesnt have argument parameters , it
is at the moment () but is passed (withData).

Figure worth mentioning,

Thomas

Original issue reported on code.google.com by Thomas.T...@gmail.com on 18 Nov 2008 at 2:05

GoogleCodeExporter commented 8 years ago
Hi Thomas.

Not sure what you mean.

decodeFunc should be a function that receives the serialized data as a string 
and returns a parsed object. It 
has to receive the withData parameter, or else it won't do anything at all.

Not sure if this is something than can be improved with documentation, code or 
what not.
If you provide more info, I'll work on it, else I'll keep this as invalid.

Thanks
Arthur Debert

Original comment by debert on 22 Nov 2008 at 5:13