You've already forked lazarus-ccr
more debugging in objcrtl10
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -415,7 +415,19 @@ var
|
|||||||
namelen : Integer;
|
namelen : Integer;
|
||||||
begin
|
begin
|
||||||
Result := nil;
|
Result := nil;
|
||||||
if (superclass = nil) or (_Class1(objc_lookUpClass(name)) <> nil) then Exit;
|
if (superclass = nil) or (_Class1(objc_lookUpClass(name)) <> nil) then begin
|
||||||
|
{$ifdef DEBUG}
|
||||||
|
if not Assigned(superclass) then
|
||||||
|
writeln('no super class!')
|
||||||
|
else begin
|
||||||
|
if Assigned(objc_lookUpClass(name)) then
|
||||||
|
writeln('the class ', name, ' already exists')
|
||||||
|
else
|
||||||
|
writeln('this situation is impossible!');
|
||||||
|
end;
|
||||||
|
{$endif}
|
||||||
|
Exit;
|
||||||
|
end;
|
||||||
super := _Class1(superclass);
|
super := _Class1(superclass);
|
||||||
|
|
||||||
// Find the root class
|
// Find the root class
|
||||||
|
Reference in New Issue
Block a user