Interface file is generated wrong

2014-02-18 Thread Tolga Cakiroglu (tcak)
I have written a module as below: file: lib.d import core.sys.posix.dlfcn; private static this(){} private static ~this(){} public shared class Apps{ } --- This code is compiled with -H flag to generate an interface file. Generated interface file is below: file: lib.di // D import

Re: Interface file is generated wrong

2014-02-18 Thread Stanislav Blinov
On Tuesday, 18 February 2014 at 10:07:37 UTC, Tolga Cakiroglu (tcak) wrote: Bug? Yup. (I don't know if I should immediately file a bug when I think it is a bug without asking what other people thinks.) 1) Do a seach in bugzilla 2) If the search doesn't show anything similar, file it 3)

Re: Interface file is generated wrong

2014-02-18 Thread Tolga Cakiroglu
On Tuesday, 18 February 2014 at 10:15:51 UTC, Stanislav Blinov wrote: On Tuesday, 18 February 2014 at 10:07:37 UTC, Tolga Cakiroglu (tcak) wrote: Bug? Yup. (I don't know if I should immediately file a bug when I think it is a bug without asking what other people thinks.) 1) Do a seach

Re: Interface file is generated wrong

2014-02-18 Thread Steven Schveighoffer
On Tue, 18 Feb 2014 05:47:41 -0500, Tolga Cakiroglu t...@pcak.com wrote: On Tuesday, 18 February 2014 at 10:15:51 UTC, Stanislav Blinov wrote: On Tuesday, 18 February 2014 at 10:07:37 UTC, Tolga Cakiroglu (tcak) wrote: Bug? Yup. (I don't know if I should immediately file a bug when I

Re: Interface file is generated wrong

2014-02-18 Thread Tolga Cakiroglu
dumped) It looks like a big bug. Please mark said bug with the tag ice. This marks it as a bug which crashes the compiler, and it will get a higher priority. -Steve Okay. Done. Issue 12192 - Wrong interface file content generated that crashes compiler