Mono-D icon indicating copy to clipboard operation
Mono-D copied to clipboard

Hovering over method call crashes XS.

Open futscdav opened this issue 9 years ago • 1 comments

Suppose we have a module

module Singleton; class Singleton { private static Singleton instance; public static Singleton GetInstance() { if (instance is null) { instance = new Singleton(); } return instance; } private this() { // Constructor code } }

and then another file such as module main; import Singleton : Singleton; import std.stdio; void main(string[] args) { Singleton.GetInstance(); }

Then hovering over GetInstance call in main crashes Xamarin Studio. I couldn't find any log file that would indicate the source of the crash however. Tested this in 2 different versions of Xamarin under Windows, same result.

xscrash.zip sample solution

futscdav avatar Apr 04 '16 23:04 futscdav

Attaching visual studio debugger reveals that System.StackOverflowException in D_Parser.dll happened.

futscdav avatar Apr 05 '16 11:04 futscdav