I'm trying to write a type which (to some extent) emulates built-in AAs.

One thing I'm having trouble with is null function parameters:

void fun(S s) {}
void main() { fun(null); }

How can S implement implicit conversion from null?

I've already tried "alias this" and a constructor taking typeof(null).

Reply via email to