www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15458] New: when i input "." to show expansion,it crashed.

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

          Issue ID: 15458
           Summary: when i input "." to show expansion,it crashed.
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: magicdmer gmail.com

I use visualD 0.3.43 in vs2013.

when i code like follow,it will crashed and the error msg is :
"COM Server for DParser is stop work"
the event name is "CLR20r3"
====================================================
import std.stdio;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Button;

void main ()
{
    auto display = new Display;
    auto shell = new Shell;
    auto button = new Button(shell,0);

    shell.  (here not crashed,work well)
    button.  (here will crashed)


    shell.open();


    while (!shell.isDisposed)
        if (!display.readAndDispatch())
            display.sleep();

    display.dispose();
}
=======================================================
I set visualD "show expansion when writing an identifier"

--
Dec 16 2015