Go Up to Error and Warning Messages (Delphi)
You can use the inline directive with nested procedures and functions. However, a nested procedure or function that refers to a variable that is local to the outer procedure is not eligible for inlining.
Topic / Summary
Inlined nested routine '%s' cannot access outer scope variable '%s'
Go Up to Error and Warning Messages (Delphi)
You can use the inline directive with nested procedures and functions. However, a nested procedure or function that refers to a variable that is local to the outer procedure is not eligible for inlining.