mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 01:09:40 +01:00
* don't try to generate mangled names for methods of categories
for which the parent class hasn't been resolved yet (causes
a crash)
git-svn-id: trunk@15429 -
This commit is contained in:
parent
d6c2326f87
commit
4847103436
@ -595,7 +595,10 @@ implementation
|
||||
and mark private fields of external classes as "used" (to avoid
|
||||
bogus notes about them being unused)
|
||||
}
|
||||
if is_objc_class_or_protocol(hdef) then
|
||||
{ watch out for crashes in case of errors }
|
||||
if is_objc_class_or_protocol(hdef) and
|
||||
(not is_objccategory(hdef) or
|
||||
assigned(tobjectdef(hdef).childof)) then
|
||||
tobjectdef(hdef).finish_objc_data;
|
||||
|
||||
if is_cppclass(hdef) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user