https://bugs.documentfoundation.org/show_bug.cgi?id=163219

--- Comment #7 from Jean-Pierre Ledure <[email protected]> ---
The root cause IMHO is that the error happens when the With block variable
receives its content inside the With block.

Next code aborts in the same way (in 24.8+ only, not in 24.2):

Sub TryWith()
        Set a = Nothing
        With a
                If IsNull(a) Then a = ThisComponent
                b = .CurrentController
        End With
End Sub

I can agree that this is not a very elegant practice ... and I am ready to
propose a workaround in the ScriptForge code, if relevant.

But shouldn't the Basic interpreter be tolerant to this With block structure ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to