The method TDictionary.IsSet is not able to be inlined but why not? What are the rules to inlining in FPC? I know calling inherited is not possible (makes sense) but I often get this warning and I don’t always understand why.
TDictionaryEntry = record key: TDictionaryKey; value: TValue; end; TDictionaryEntryArray = array[0..high(integer)] of TDictionaryEntry; TDictionaryEntryArrayPtr = ^TDictionaryEntryArray; TDictionaryHeader = record ... entries: TDictionaryEntryArrayPtr; end; header: TDictionaryHeaderPtr; function TDictionary.IsSet (index: integer): boolean; begin result := assigned(header^.entries[index]^.value); end; Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal