Using dotnet 10, the attached project fails to compile, giving error "error FS0192 : internal error Iterate2D". Commenting out the append function allows the project to compile successfully.
It appears the problem is the combination of ReflectedDefinition and a recursive function call. Possibly this should just be considered an unsupported scenario; still, the compiler should not produce an internal error.
ReflectedBug.zip
Using dotnet 10, the attached project fails to compile, giving error "error FS0192 : internal error Iterate2D". Commenting out the
appendfunction allows the project to compile successfully.It appears the problem is the combination of ReflectedDefinition and a recursive function call. Possibly this should just be considered an unsupported scenario; still, the compiler should not produce an internal error.
ReflectedBug.zip