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

resolve: add introduceDependencies for variables #1226

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

mio-19
Copy link
Contributor

@mio-19 mio-19 commented Dec 17, 2024

fix #1220

passed:

variable A : Type
variable a : A

@@ -142,6 +142,7 @@ public ExprResolver(@NotNull Context ctx, boolean allowGeneralizing) {
// Ordered set semantics. Do not expect too many generalized vars.
var owner = generalized.owner;
assert owner != null : "Sanity check";
introduceDependencies(generalized);
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure you need it here? It seems you called it twice

@ice1000
Copy link
Member

ice1000 commented Dec 17, 2024

Can you write a test?

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.

Support dependent types in variable
2 participants