Compiler panics when an associated constant is recursively initialized to a const-eval module function #6539
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
When an associated constant is recursively initialized to a const-eval module function like in the below example, instead of emitting an error, compiler panics with:
When fixing this issue, enable and adjust the
recursive_const_associated_over_module_function
test which is linked to this issue via GitHub link in the test TODO.The text was updated successfully, but these errors were encountered: