Beef icon indicating copy to clipboard operation
Beef copied to clipboard

[IDE][Crash] IDE silently crashes after renaming typealias in specific condition

Open kallisto56 opened this issue 3 years ago • 0 comments

Hi there,

Feature Rename Symbol causes IDE to silently crash after renaming typealias Foo = Bar to typealias Bar = Bar

This happens only if typealias is defined inside a class or a struct. Additionally, there should be at least one reference to Foo anywhere in the project before renaming occurs. Moving typealias outside of the class and then renaming it does not cause a crash. Manually renaming Foo to Bar also works fine.

Version: 0.43.4 built 09/07/2022 at 01:50 PM

namespace BugTestProject
{
	struct Bar { }

	class Program
	{
		typealias Foo = Bar;

		static void Action (Foo actuallyBar) { }
	}
}

kallisto56 avatar Nov 02 '22 14:11 kallisto56