Walter: extend existing classes with new methods?

Ivan Senji ivan.senji_REMOVE_ at _THIS__gmail.com
Sun Sep 3 12:24:35 PDT 2006


Marcio wrote:
> No, I am asking for extending at compile-time. Example: You provide me 
> with a library written in D, with full source, and my app can add 
> methods to some of your classes. Then I compile the full source.
> 
> This is quite doable, even in D.

It sure is. The fact that it isn't implemented is just another 
inconsistency in the language. I would even go so far and say it is a 
d1.0blocker (as all inconsistencies are).




More information about the Digitalmars-d mailing list