BCS wrote:
template Foo (T) { T map(T[]) { ... } }

class Bar { mixin Foo!(int); }

void main()
{
  Bar bar;
bar. /// will the IDE have to do anything special to see 'map' or will it just be listed as another function?
}

Probably it would just work.

On the other hand, if you had this:

T manipulate(T)(T value) { ... }
MyObject foo;
manipulate(foo). // IDE dies here

The compiler wouldn't have completion on the line of code you're currently editing, since it's a syntax error. The IDE won't know anything about D and so can't determine what the return type of manipulate() is.

Reply via email to