mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 04:01:37 +02:00
fcl-passrc: useanalyzer: fixed marking inline specialize expression of a record method
This commit is contained in:
parent
9f16b0a0f4
commit
4d67cd80fc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user