Beef
Beef copied to clipboard
Comptime fatal error
Introducing a new variable in Span<T> causes a fatal error during comptime evaluation:
---------------------------
FATAL ERROR
---------------------------
FATAL ERROR
Fatal Error in Module: __constEval
Function: ?Init@COMPTIME$?$SplitList@U_T0@@@Collections@System@bf@@CAXXZ
DbgLoc: @3 SplitList.bf:38:12
Malformed structure values in D:\BeefLang\Repository\Beef\IDEHelper\Backend\BeIRCodeGen.cpp:317
Tested with: https://github.com/beefytech/Beef/commit/ab31e5bc89a0c4304d9716f9cb09614583ab5c3e
Ah, yeah. It will definitely still be illegal, but I'll try to make the errors softer.