Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Using @ with variable causes IDE crash

Open jayrulez opened this issue 8 months ago • 2 comments

	public class Testing
	{
		public List<char8*> extensions = new .() ~ delete _;

		[Inline] public bool checkExtension(String @extensionToCheck)
		{
			return extensions.FindIndex(scope [&] (ext) =>
				{
					return String.Equals(ext, @extensionToCheck);
				}) != -1;
		}

	}

The code above causes the IDE to crash

jayrulez avatar Mar 29 '25 19:03 jayrulez

can you send me crush dump?

larkliy avatar Apr 02 '25 16:04 larkliy

This crash got fixed at some point, and now gives an actual error of Unable to capture 'extensionToCheck', but still doesn't actually work...

bfiete avatar Aug 10 '25 17:08 bfiete