digitalmars.D.learn - import inside function sometimes causes link errors
- timotheecour (8/8) Oct 19 2012 does D fully support using import statements inside functions?
- Andrej Mitrovic (3/4) Oct 19 2012 It's a rather recent feature, there's probably a few bugs. Feel free
- timotheecour (2/4) Oct 19 2012 done:
does D fully support using import statements inside functions? I sometimes get link errors eg: void fun(){ import mypackage.mymodule; mypackage.mymodule.myfun(); //will cause link error } if you haven't encountered it yet I can provide a simplified test case.
Oct 19 2012
On 10/19/12, timotheecour <thelastmammoth gmail.com> wrote:does D fully support using import statements inside functions?It's a rather recent feature, there's probably a few bugs. Feel free to file: http://d.puremagic.com/issues/
Oct 19 2012
It's a rather recent feature, there's probably a few bugs. Feel free to file: http://d.puremagic.com/issues/done: http://d.puremagic.com/issues/show_bug.cgi?id=8856
Oct 19 2012