Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Open
karwa opened this Issue · 1 comment

2 participants

@karwa

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: http://pastebin.com/aqmHu1rv

@tomaz
Owner

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 Known labels
@tomaz tomaz added this to the 3.0 milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.