On Saturday, 31 October 2015 at 12:45:13 UTC, Jacob Carlborg wrote:
On 2015-10-30 22:28, TheFlyingFiddle wrote:
In other languages that have Attributes (Java and C# atleast)

I can do stuff like this: (Java)

//com.bar.java
interface Bar { /*stuff*/ }
//com.foo.java
class Foo
{
    Foo(@Bar int a)
    {
       //some stuff
    }
}


I don't seem to be able to do this in D. That is I cannot do this:

https://github.com/D-Programming-Language/dmd/pull/4783

This looks very promising I hope something like this get's pulled eventually.

Reply via email to