Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortened access to member variables in super class flagged as warning #240

Open
StephanWald opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@StephanWald
Copy link
Member

The following sample flags the short access to the member field of the parent class as warning (which is valid). The formal access through #super! works as expected:

class public SuperParent

classend

class public Parent extends SuperParent

    field public String SomeString! 

classend

class public Child extends Parent

    method public void someMethod()

        rem this is flagged as warning but also legal:
        #SomeString! = "TEST"

        rem the explicit access to the member of the super class works as expected:
        #super!.setSomeString("TEST")

    methodend

classend

c! = new Child()
c!.someMethod()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant