www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17140] New: Segfault when using function-name-qualified

https://issues.dlang.org/show_bug.cgi?id=17140

          Issue ID: 17140
           Summary: Segfault when using function-name-qualified renamed
                    import as function return type
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: dhasenan gmail.com

I don't know if this is supposed to be valid code or not.

Code:

foo.socks.Socket foo()
{
    import socks = std.socket;
    return null;
}

Stacktrace:



Type**, Dsymbol**, bool) ()












Dsymbol*, Expression**, Type**, Dsymbol**, bool) ()

Type**, Dsymbol**, bool) ()

--
Feb 03 2017