Beef
Beef copied to clipboard
Beef Programming Language
The following code crashes the IDE. (Nightly 08/10/2023) [crash.zip](https://github.com/beefytech/Beef/files/12476173/crash.zip) ```beef namespace Repro; public static class ClassA { public static void MethodA(T t = .()) where T : struct, new {}...
Currently the only fixit available for switching over an enum is to generate default. I think it would be benefitital if the user could also choose to generate a case...
Example code: ```beef using System; using System.Reflection; namespace BeefAttributeReflectionBug; class Program { [AttributeUsage(.Field | .Property, .AlwaysIncludeTarget | .ReflectAttribute, ReflectUser = .AllMembers)] public struct NoParametersAttribute : Attribute { } [AttributeUsage(.Field |...
https://github.com/beefytech/Beef/assets/78807/90e0e143-86bc-4a50-9ad0-c45f8edc86d5 Highlighted in the video.
```cs interface IParent { bool IsEnabled {get; set;} } interface IChild : IParent { } class Implementation : IChild{ public bool IsEnabled {get; set;} } class Program { public static...
Something along these lines will not rename everything correctly if you rename the IBehavior.Update method. ``` public Result{ Success, Failed, Running } public IBehavior{ Result Update(T t); } public abstract...
The IDE crashes quite a lot for me lately. It's probably because I use a lot more comptime now. I can't reliably trigger the crashes. Sometimes the IDE doesn't crash...
When I tried to compile the following code, the compiler reporting **Type could not be found**. ``` static class DigitsOfE { static (int, int) SumTerms(int a, int b) { if...
 When I added a **return** statement to the **expression block**, subsequent code received a compiler warning of 'unreachable code' and an exception occurred while running the program
I'm using Beef solely as a debugger for my game written in C, which is compiled using MSVC 2022 using the command line build tools. I have a debug session...