Skip to content

Conversation

@ankddev
Copy link
Contributor

@ankddev ankddev commented Oct 7, 2025

This PR fixes #3786.

Copy link
Member

@GearsDatapacks GearsDatapacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! Could you add some tests to this please? I would like tests for:

  • Ignoring type variables in other functions
  • Correctly using type variables defined in the current function
  • Correctly generating a new name to avoid clashing with type variables in the current function

@ankddev
Copy link
Contributor Author

ankddev commented Oct 7, 2025

@GearsDatapacks Okay, can you please give me some guidance about where they should be located? :)

@GearsDatapacks
Copy link
Member

They should go in the type_::tests::errors module

@ankddev ankddev marked this pull request as draft October 7, 2025 15:36
@ankddev
Copy link
Contributor Author

ankddev commented Oct 7, 2025

There are some problems with this, I'll address them later, so drafting PR for now!

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

Successfully merging this pull request may close these issues.

Error's type printing: Consider only annotated type variables for the current definition rather than the whole module

2 participants