Nested classes in DWScript

Issue #200 new
Nikola Dimitrov created an issue

I was unable to find any information whether or not nested classes are supported in some way or another by DWScript. If that’s the case (aren’t supported), are there any plans to support them in the future?

Thank you!

Comments (3)

  1. Eric Grange repo owner

    I think they should be possible without too much effort on the compiler side if implemented as scoped declration, most of the work would have to be on the unit test side.
    I’m not fully aware of the gotchas in Delphi of inner classes (declared in a parent class, derived in child classes, etc.) and if there are any specifics.

  2. Nikola Dimitrov reporter

    Thank you, Eric! I just pulled the latest changes and will start fiddling. I will also try and create a few test cases.

  3. Log in to comment