Beef
Beef copied to clipboard
IDE undergoes Fatal Error while building pattern matching sample
IDE encounters a fatal error and terminates while building the below code (taken from Beef Documentation page 'Pattern Matching'.
using System;
namespace BeefTest;
class Program
{
public static void Main()
{
let tup = (1.2, "Abc");
// This performs one equality check and one member capture
if (tup case (1.2, let str))
{
}
}
}
FATAL ERROR Failure during codegen of ?Main@Program@BeefTest@bf@@SAXXZ in BeefTest_Program: Assert 'found' failed on line 3648 MCBlock: caseDone:4