Beef
Beef copied to clipboard
Assert failed "(int)mOutFileNames.size() >= mExtensionCount"
The assert failure mentioned in the issue title can be easily reproduced if you try to compile a Test project with BeefIDE_d that contains the following two files (their names doesn't matter):
using System;
using System.Collections;
namespace BeefBugRepros
{
static
{
[Test]
public static void TestBug()
{
Dictionary<int, int> a = scope .();
MixinCrash!(a);
}
}
}
using System;
static
{
public static mixin MixinCrash<T>(T value)
{
}
public static mixin MixinCrash<K, V>(Dictionary<K, V> value)
where K : var, IHashable
where V : var
{
}
}
Tested with: https://github.com/beefytech/Beef/commit/c10565678ebedf7bfc237e25ae9f661ed98a03c2