Beef
Beef copied to clipboard
[Crash] Null-check inside specific mixin causes IDE to crash
Hi there,
Checking if target is null inside mixin for IDisposable causes IDE to crash.
namespace System
{
extension IDisposable
{
public static mixin DisposeDeleteNullify (IDisposable target)
{
// Uncomment to cause a crash
/*if (target != null) {}*/
}
}
extension IFormattable
{
public static mixin Foo (IFormattable target)
{
// Does not cause a crash
if (target != null) {}
}
}
}