View Issue Details

IDProjectCategoryView StatusLast Update
0037119FPCCompilerpublic2020-05-20 13:39
Reporternanobit Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version3.3.1 
Summary0037119: $smartlink scope ambiguous
Description{$smartlink on} is documented as global directive,
but the compiler allows (no misplacement warning)
to place them like a local directive with on and off.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

Thaddy de Koning

2020-05-20 11:06

reporter   ~0122950

Example? local scope should have effect with push/pop
Did you check output?

Sven Barth

2020-05-20 13:39

manager   ~0122953

That a directive is local does not affect whether it can be stored/restored with $PUSH/$POP. Those two are separate concepts.

Issue History

Date Modified Username Field Change
2020-05-20 10:27 nanobit New Issue
2020-05-20 11:06 Thaddy de Koning Note Added: 0122950
2020-05-20 13:39 Sven Barth Note Added: 0122953