You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EXPORT OBJECT arf PRIVATE
bla
ENDOBJECT
EXPORT PROC dog() OF arf IS WriteF('I should be exported.')
PROC cat() OF arf IS WriteF('I should not be exported.')
Using viewmodule reveals that the cat() method is also exported.
As a workaround, make cat a local function and pass in self as a PTR TO arf so it is not a method of arf directly.
PROC cat(self:PTR TO arf) IS WriteF('I am not exported now.')
The text was updated successfully, but these errors were encountered:
Using viewmodule reveals that the cat() method is also exported.
As a workaround, make cat a local function and pass in self as a PTR TO arf so it is not a method of arf directly.
The text was updated successfully, but these errors were encountered: