[docs] [issue26205] Inconsistency concerning nested scopes