Skip to content

(feat) Type Inference #79

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

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open

(feat) Type Inference #79

wants to merge 27 commits into from

Conversation

AlSchlo
Copy link
Collaborator

@AlSchlo AlSchlo commented Apr 21, 2025

Better description coming soon.

Missing testing plan.

Does everything except:

  • Concat
  • List pattern matching
  • Genericity

@AlSchlo AlSchlo marked this pull request as ready for review April 24, 2025 00:08
@AlSchlo AlSchlo changed the title Alexis/type infer 3 (feat) Type Inference Apr 24, 2025
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 88.79593% with 308 lines in your changes missing coverage. Please review.

Project coverage is 81.4%. Comparing base (9280901) to head (c761ef8).

Files with missing lines Patch % Lines
optd/src/dsl/analyzer/errors.rs 8.9% 112 Missing ⚠️
optd/src/dsl/analyzer/types/registry.rs 55.9% 63 Missing ⚠️
optd/src/dsl/analyzer/types/solver.rs 88.0% 53 Missing ⚠️
optd/src/dsl/analyzer/types/generate.rs 81.4% 29 Missing ⚠️
optd/src/dsl/analyzer/types/glb.rs 95.0% 20 Missing ⚠️
optd/src/dsl/analyzer/types/lub.rs 96.9% 14 Missing ⚠️
optd/src/dsl/analyzer/types/subtype.rs 98.3% 13 Missing ⚠️
optd/src/dsl/analyzer/from_ast/expr.rs 89.6% 3 Missing ⚠️
optd/src/dsl/compile.rs 90.9% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
optd/src/dsl/analyzer/context.rs 89.8% <100.0%> (+0.7%) ⬆️
optd/src/dsl/analyzer/from_ast/converter.rs 97.5% <100.0%> (ø)
optd/src/dsl/analyzer/from_ast/pattern.rs 94.5% <100.0%> (+0.2%) ⬆️
optd/src/dsl/analyzer/from_ast/types.rs 97.6% <100.0%> (+1.5%) ⬆️
optd/src/dsl/analyzer/hir.rs 77.5% <ø> (ø)
optd/src/dsl/analyzer/semantic_checks/adt_check.rs 98.2% <100.0%> (ø)
optd/src/dsl/parser/expr.rs 81.4% <100.0%> (+0.1%) ⬆️
optd/src/dsl/utils/span.rs 78.9% <100.0%> (+7.5%) ⬆️
optd/src/dsl/compile.rs 65.4% <90.9%> (+65.4%) ⬆️
optd/src/dsl/analyzer/from_ast/expr.rs 94.5% <89.6%> (+<0.1%) ⬆️
... and 7 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants