-
Notifications
You must be signed in to change notification settings - Fork 644
Open
Description
AppleDoc throws an exception on the following code. It seems to ignore the function inside the class implementation and detects '+ (x * 9 / 5);' as a method declaration.
@implementation TempConverter
static void convertToFarenheit(float x) {
return 32 + (x * 9 / 5);
}
+ (float)convertToFarenheit:(float)x {
return convertToFarenheit(x);
}
@end
*** Assertion failure in +[GBMethodData methodDataWithType:result:arguments:], /Users/tomaz/Documents/Projects/Projects/Appledoc/appledoc/Model/GBMethodData.m:41
Oops, something went wrong...
NSInternalInconsistencyException: Invalid parameter not satisfying: [arguments count] >= 1
@ 0 CoreFoundation 0x00007fff8c20e25c __exceptionPreprocess + 172
@ 1 libobjc.A.dylib 0x00007fff82354e75 objc_exception_throw + 43
@ 2 CoreFoundation 0x00007fff8c20e038 +[NSException raise:format:arguments:] + 104
@ 3 Foundation 0x00007fff8a050d41 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
@ 4 appledoc 0x000000010df1da3f appledoc + 96831
@ 5 appledoc 0x000000010df15c38 appledoc + 64568
@ 6 appledoc 0x000000010df18f0b appledoc + 77579
@ 7 appledoc 0x000000010df15899 appledoc + 63641
@ 8 appledoc 0x000000010df14713 appledoc + 59155
@ 9 appledoc 0x000000010df14621 appledoc + 58913
@ 10 appledoc 0x000000010df18f0b appledoc + 77579
@ 11 appledoc 0x000000010df145e5 appledoc + 58853
@ 12 appledoc 0x000000010df14308 appledoc + 58120
@ 13 appledoc 0x000000010df1557c appledoc + 62844
@ 14 appledoc 0x000000010df148b1 appledoc + 59569
@ 15 appledoc 0x000000010df127b6 appledoc + 51126
@ 16 appledoc 0x000000010df10dbf appledoc + 44479
@ 17 appledoc 0x000000010df11bc4 appledoc + 48068
@ 18 appledoc 0x000000010df11d01 appledoc + 48385
@ 19 appledoc 0x000000010df10b3d appledoc + 43837
@ 20 appledoc 0x000000010df0955e appledoc + 13662
@ 21 appledoc 0x000000010df08113 appledoc + 8467
@ 22 appledoc 0x000000010df082f7 appledoc + 8951
@ 23 appledoc 0x000000010df077f4 appledoc + 6132
Reactions are currently unavailable