Thread overview | |||||
---|---|---|---|---|---|
|
October 19, 2012 import inside function sometimes causes link errors | ||||
---|---|---|---|---|
| ||||
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. |
October 19, 2012 Re: import inside function sometimes causes link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to timotheecour | 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/ |
October 20, 2012 Re: import inside function sometimes causes link errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | > 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 |
Copyright © 1999-2021 by the D Language Foundation