Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better hint type handling given to lambda #807

Merged
merged 3 commits into from
May 26, 2023
Merged

Better hint type handling given to lambda #807

merged 3 commits into from
May 26, 2023

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented May 26, 2023

Closes #666

  1. It extracts the proc types from the hint for the case that is reported in lambda's parameter is marked as untyped with union #666
  2. It confirms if only one proc type is included in the hint so that it can determine which proc type to use as its hint
  3. Otherwise, it reports a diagnostic that the hint which is given to lambda is just ignored ProcHintIgnored

@soutaro soutaro added this to the Steep 1.5 milestone May 26, 2023
@soutaro soutaro merged commit 56c911b into master May 26, 2023
@soutaro soutaro deleted the hint-type branch May 26, 2023 12:26
@soutaro soutaro added the Released The PR is already included in a published release label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released The PR is already included in a published release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lambda's parameter is marked as untyped with union
1 participant