| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
The focused matching change has regression coverage, and the remaining corrections are documentation-only.
Review effort: Balanced
Findings: 2
Improves shared type inference when trait constraints contain nested type parameters.
Changes:
| File | Description |
|---|---|
| shared/typeinference/codeql/typeinference/internal/TypeInference.qll | Extends constraint matching and documents examples. |
| rust/ql/test/library-tests/type-inference/type-inference.expected | Records updated inference results. |
| rust/ql/test/library-tests/type-inference/main.rs | Adds contextual trait-bound regression cases. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
| * ``` | ||
| * | ||
| * At `term` = `bar(x, y)`, we have | ||
| * At `term` = `bar([x], Some(y))`, we have |
There was a problem hiding this comment.
Was this change intentional? The term here doesn't match the call to bar above? Does the existing example need changing?
Sorry, something went wrong.
There was a problem hiding this comment.
Fixed.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When working on type inference for Unified, I realized that there was a (corner) case that the shared inference library did not support:
DCA is uneventful.