Beef
Beef copied to clipboard
Assert failed "mCompiler->mCompileState != BfCompiler::CompileState_Unreified"
To reproduce this assert failure, create a project of any type and then create a library containing the following two files (the file names doesn't matter), if you don't add the library as a dependency in any project, the assert failure will happen while building the workspace.
using System.Collections;
namespace System
{
extension Type
{
public static Dictionary<int32, String> cache ~ MixinCrash!(_);
}
}
using System;
using System.Collections;
static
{
public enum EnumTest
{
A,
B,
C
}
}
static
{
public static mixin MixinCrash<K, V>(Dictionary<K, V> value, EnumTest test = EnumTest.A)
where K : var, IHashable
where V : var
{
if (test.HasFlag(.B))
{
}
}
}
Tested with: c105656