Nested classes in DWScript
Issue #200
new
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)
-
repo owner -
repo owner Committed initial support and basic test cases with https://bitbucket.org/egrange/dwscript/commits/4039221e3d0a1ff1e4fc68f1db3d6585ce59204a
More, many more test cases would be necessary before it can be relied upon safely!
-
reporter Thank you, Eric! I just pulled the latest changes and will start fiddling. I will also try and create a few test cases.
- Log in to comment
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.