Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Fatal error when using Dictionary initializer where value is a Tuple

Open Fusioon opened this issue 1 year ago • 0 comments

Code to reproduce:

class Program
{
	static int Main()
	{
		System.Collections.Dictionary<String, (String, String)> foo = scope .()
		{
			("foo", ("", ""))
		};

		return 0;
	}
}

Trying to compile the code results in this: image

Tested with: (Nightly 04/27/2024) Build 936dd656c8bc2d89bbacecebada0e8c31dde2446

Fusioon avatar Apr 28 '24 08:04 Fusioon