Bug 15458 – when i input "." to show expansion,it crashed.

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2015-12-17T02:34:00Z
Last change time
2016-01-19T02:41:51Z
Assigned to
nobody
Creator
magicdmer

Comments

Comment #0 by magicdmer — 2015-12-17T02:34:04Z
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"
Comment #1 by thomas.hedstrom — 2016-01-06T23:34:13Z
*** Issue 15522 has been marked as a duplicate of this issue. ***
Comment #2 by r.sagitario — 2016-01-13T22:10:45Z
Please try replacing $(ProgrmFiles(x86)\VisualD\DParser\D_Parser.dll with this one https://gist.github.com/rainers/6cdf73b48837defb9f88#file-d_parser-dll. It hopefully fixes the problem.
Comment #3 by thomas.hedstrom — 2016-01-16T08:15:01Z
Yes. The new dll fixes the problem, in issue 15522 example at least.
Comment #4 by magicdmer — 2016-01-19T02:41:51Z
I test the dll Rainer Schuetze comment, and it works well!