test.d(15): Error: function test.fiz (Bar _bar) is not callable using argument types (Foo)
test.d(15): Error: cannot implicitly convert expression (foo) of type Foo to Bar
Is this a bug, or is it intended behavior? If it is a bug, can somebody please point me to the issue number filed on Bugzilla so that I can track it. I made some effort to search it myself but could find it on Bugzilla.
And if it is intended behavior, I guess it is because of some issues with template function matching. But I find explicit casting while calling functions a bit of a stretch.
Regards
- Puneet