Parse assertion for '+' symbols in C functions in @implementation blocks #394

karwa opened this Issue Aug 18, 2013 · 1 comment


None yet
2 participants

karwa commented Aug 18, 2013

Appledoc is crashing when attempting to parse one of my implementation files. I traced it back, and it appears to be recognising the '+' symbol in a C function in my @implementation block.

Appledoc seems to think that this symbol (used for addition) is part of a class method declaration. If you comment out the addition, it parses the file just fine.

2013-08-18 17:50:31.078 appledoc[6528:707] *** Assertion failure in +[GBMethodData methodDataWithType:result:arguments:], /Users/karl/Spring/Tools/appledoc/Model/GBMethodData.m:41
Oops, something went wrong...
NSInternalInconsistencyException: Invalid parameter not satisfying: [arguments count] >= 1

It is possible to work around the issue by moving the C function outside of the implementation block.

Here is the .m file triggering the assertion:


tomaz commented Aug 18, 2013

This is known issue with 2.x codebase. Can't find exisiting issue right now, but I'm sure there was one.

@tomaz tomaz added Bug labels May 16, 2014

@tomaz tomaz added this to the 3.0 milestone May 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment