Beef
Beef copied to clipboard
[Crash] Mixin hiding interface member causes IDE to crash on build
Hi there,
Mixin Object.Dispose makes IDE think that DisposableFoo has defined Dispose. IDE crashes on build.
If DisposableFoo.Dispose is defined, then everything builds and runs perfectly fine.
crash-dump: disposable-foo.zip
namespace BugTestProject
{
using System;
public class DisposableFoo : IDisposable
{
/*public void Dispose() {}*/
}
public class Program
{
static void Main ()
{
var foo = scope DisposableFoo();
foo.Dispose!();
}
}
}
namespace System
{
extension Object
{
public mixin Dispose () {}
}
}