Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler in invalid state but AssertErrorState failed to prior error #2103

Closed
disarray2077 opened this issue Jan 23, 2025 · 1 comment
Closed

Comments

@disarray2077
Copy link
Contributor

The code below triggers the following internal error:

ERROR: INTERNAL ERROR: Compiler in invalid state but AssertErrorState failed to prior error
Module: simple_test_Program
Type: simple_test.Program
  while compiling 'simple_test.Program'
using System;
using System.Collections;

namespace simple_test;

[AttributeUsage(.Field)]
struct HasDefaultValueAttribute : Attribute;

class Program
{
	[HasDefaultValue] public List<int> HpGraph = new List<int>();

	static void Main ()
	{
	}
}

Tested with: 7b29a4f

@bfiete
Copy link
Collaborator

bfiete commented Jan 24, 2025

Fixed at 6d474b3

@bfiete bfiete closed this as completed Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants