[Issue 6501] import inside of eponymous template does not work correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 14 06:10:58 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6501


dawg at dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dawg at dawgfoto.de
         Resolution|                            |FIXED


--- Comment #3 from dawg at dawgfoto.de 2012-02-14 06:10:57 PST ---
cat > a.d << CODE
template eponymous(string str)
{
    import std.metastrings;

    enum eponymous = Format!("%s", str);
}

void main()
{
    pragma(msg, eponymous!("message"));
}
CODE

dmd -c a.d

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


More information about the Digitalmars-d-bugs mailing list