Beef
Beef copied to clipboard
[IDE][Crash] IDE silently crashes after renaming typealias in specific condition
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) { }
}
}