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

Validate type decendants #507

Merged
merged 2 commits into from
Mar 11, 2022
Merged

Validate type decendants #507

merged 2 commits into from
Mar 11, 2022

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Mar 11, 2022

type x[A < Numeric] = A

class Foo[X0 < String]
  def f: () -> Array[x[X0]]       # Steep didn't detect error here, because `x` is inside `Array`.
end

@soutaro soutaro merged commit 7b1efcd into master Mar 11, 2022
@soutaro soutaro deleted the validate-type-children branch March 11, 2022 07:02
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.

1 participant