Beef
Beef copied to clipboard
Beef Programming Language
Code to reproduce: ```cs class Program { class Hash { int8 _codec; uint8[] _hash ~ delete:append _; public Span Hash => _hash; public int Length => _hash.Count; [AllowAppend] public this(Span...
Code to reproduce: ```cs class Program { static int Main() { System.Collections.Dictionary foo = scope .() { ("foo", ("", "")) }; return 0; } } ``` Trying to compile the...
Introducing a new variable in `Span` causes a fatal error during comptime evaluation: ```bf --------------------------- 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...
Code generation error will cause a crash when checking result of nullable in if statement. [Code.zip](https://github.com/beefytech/Beef/files/15139105/Code.zip) The attached project will reproduce the crash if you try to compile it.
With a class ``` class Engine {} ``` type ``` typealias EngineInitCallback = delegate void(Engine engine); ``` When you get to typealias *Engine*, the IDE will crash
Auto-complete has this annoying behavior that triggers an auto-complete while you're trying to write parameters in a lambda expression. This doesn't happen if you make it explicit that you want...
Creating a `static append List` field with an initial capacity, overlays the memory for the static fields that follows. It works fine with instance fields. Tested in latest nightly. ```beef...
I get the following error when trying to compile the code below: ``` ERROR: Binary operation for 'TryBeef.Program.Test2.anon(int i)' must result in 'T' from binary operation 'int * int' while...
..... when not preceded by other chars in the same line.  edit: only occurs when the code is between a Beef #if and #endif
Tried to improve breakpoints alignment. Since original feels distractive. Original:  Improved: 