Re: import("dir/file") does not work

2016-05-18 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 18 May 2016 at 12:20:14 UTC, Andrew Chamberlain wrote: Thank you! It looks like it's not yet included into recent DMD beta available for download. in nightly perhaps ? https://dlang.org/download.html#dmd-nightly the latest beta is always for a "point" release so it only

Re: import("dir/file") does not work

2016-05-18 Thread Andrew Chamberlain via Digitalmars-d-learn
On Wednesday, 18 May 2016 at 12:16:47 UTC, Andrew Chamberlain wrote: On Wednesday, 18 May 2016 at 11:58:46 UTC, Vadim Lopatin wrote: On Wednesday, 18 May 2016 at 06:47:08 UTC, Atila Neves wrote: On Wednesday, 18 May 2016 at 05:11:51 UTC, Vadim Lopatin wrote: [...] That was a bug that

Re: import("dir/file") does not work

2016-05-18 Thread Andrew Chamberlain via Digitalmars-d-learn
On Wednesday, 18 May 2016 at 11:58:46 UTC, Vadim Lopatin wrote: On Wednesday, 18 May 2016 at 06:47:08 UTC, Atila Neves wrote: On Wednesday, 18 May 2016 at 05:11:51 UTC, Vadim Lopatin wrote: [...] That was a bug that was recently fixed. Atila Thank you! It looks like it's not yet

Re: import("dir/file") does not work

2016-05-18 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 18 May 2016 at 06:47:08 UTC, Atila Neves wrote: On Wednesday, 18 May 2016 at 05:11:51 UTC, Vadim Lopatin wrote: Hello, Is it intended that import of file as array does not work if path is specified for import file name? import("dir/file.ext"); // does not work

Re: import("dir/file") does not work

2016-05-18 Thread Atila Neves via Digitalmars-d-learn
On Wednesday, 18 May 2016 at 05:11:51 UTC, Vadim Lopatin wrote: Hello, Is it intended that import of file as array does not work if path is specified for import file name? import("dir/file.ext"); // does not work import("file.ext"); // works if dir is added to -J list I believe it would be

import("dir/file") does not work

2016-05-17 Thread Vadim Lopatin via Digitalmars-d-learn
Hello, Is it intended that import of file as array does not work if path is specified for import file name? import("dir/file.ext"); // does not work import("file.ext"); // works if dir is added to -J list I believe it would be convenient if I could just specify one -J path (e.g. -Jviews)