[Issue 12201] Crash on forward reference import within mixed in template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 19 02:27:06 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12201


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Crash on bad import within  |Crash on forward reference
                   |mixed in template           |import within mixed in
                   |                            |template


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2014-02-19 02:26:54 PST ---
Even if the import is valid, it will crash.

template T()
{
    core.stdc.stdio.FILE* fp;
}

struct S
{
    mixin T;
    import core.stdc.stdio;
}

So this is a forward reference issue.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list