Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hovering over method call crashes XS. #652

Open
futscdav opened this issue Apr 4, 2016 · 1 comment
Open

Hovering over method call crashes XS. #652

futscdav opened this issue Apr 4, 2016 · 1 comment

Comments

@futscdav
Copy link

futscdav commented Apr 4, 2016

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
Copy link
Author

futscdav commented Apr 5, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant