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

Attempting to retrieve Methods of ResolvedType causes an IDE crash #2209

Open
Booklordofthedings opened this issue Apr 3, 2025 · 0 comments

Comments

@Booklordofthedings
Copy link
Contributor

// Press F5 to compile and run program

using System;

namespace HelloWorld;

class Program
{
	static void Main()
	{
		Console.WriteLine("Hello, world!");
	}

	[OnCompile(.TypeInit), Comptime]
	public static void Generate()
	{
		for (var i in Type.TypeDeclarations)
		{
			for(var f in i.ResolvedType.GetMethods()
			{

			}
		}
	}
}

Attempting this will cause an IDE crash on the newest nightly

dmp.dmp

HelloWorld.zip

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