Skip to content

Non-unique logical locations for duplicate function signatures #2890

Description

@sungshik

Describe the bug

If two function declarations at different physical locations have the same signature (but possibly different bodies), then they have the same logical location. This can lead to internal bookkeeping issues in Typepal (e.g., #2879). See this comment for details.

To Reproduce

data D = foo();
int f(foo()) = 5;
int f(foo()) = 6;

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

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions