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

An attempt to redo #1226 #1298

Closed
wants to merge 14 commits into from
Closed

An attempt to redo #1226 #1298

wants to merge 14 commits into from

Conversation

ice1000
Copy link
Member

@ice1000 ice1000 commented Feb 1, 2025

I failed to solve the problem too. Opening this for review

@ice1000 ice1000 closed this Feb 1, 2025
@@ -38,6 +39,6 @@ sealed interface ResolvingDecl extends ResolvingStmt { }

record TopDecl(@NotNull Decl stmt, @NotNull Context context) implements ResolvingDecl { }
record MiscDecl(@NotNull Decl stmt) implements ResolvingDecl { }
record GenStmt(@NotNull Generalize stmt) implements ResolvingStmt { }
record GenStmt(@NotNull Generalize stmt, @NotNull ModuleContext context) implements ResolvingStmt { }
Copy link
Member Author

Choose a reason for hiding this comment

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

This is an important fix though

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

Attention: Patch coverage is 92.95775% with 5 lines in your changes missing coverage. Please review.

Project coverage is 83.50%. Comparing base (f7e1471) to head (9dbce46).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../java/org/aya/resolve/visitor/OverGeneralizer.java 84.61% 1 Missing and 1 partial ⚠️
...a/org/aya/resolve/error/CyclicDependencyError.java 83.33% 1 Missing ⚠️
...ain/java/org/aya/resolve/visitor/StmtResolver.java 97.77% 0 Missing and 1 partial ⚠️
...c/main/java/org/aya/syntax/ref/GeneralizedVar.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1298      +/-   ##
============================================
+ Coverage     83.44%   83.50%   +0.05%     
- Complexity     4260     4278      +18     
============================================
  Files           388      390       +2     
  Lines         12345    12395      +50     
  Branches       1429     1434       +5     
============================================
+ Hits          10301    10350      +49     
+ Misses         1290     1289       -1     
- Partials        754      756       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ice1000 added a commit that referenced this pull request Feb 1, 2025
Also adds partial term in prim, related to #1029
@ice1000 ice1000 deleted the generalized branch February 2, 2025 00:24
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.

Make a core version of variable, check them, and introduce dependencies in stmt tycker
2 participants