fcl-passrc: useanalyzer: fixed marking inline specialize expression of a record method

This commit is contained in:
mattias 2024-12-06 20:00:27 +01:00
parent 9f16b0a0f4
commit 4d67cd80fc

View File

@ -1931,6 +1931,8 @@ begin
else
RaiseNotSupported(20181015193334,Expr,OpcodeStrings[Unary.OpCode]);
end
else if C=TInlineSpecializeExpr then
UseExprRef(El,TInlineSpecializeExpr(Expr).NameExpr,Access,UseFull)
else if (Access=rraRead)
and ((C=TPrimitiveExpr) // Kind<>pekIdent
or (C=TNilExpr)