Skip to content

internal error Iterate2D with ReflectedDefinition and recursion #20379

Description

@g874200

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions