Simon Friis Vindum
|
522e4d64de
|
Merge pull request #21273 from paldepind/rust/tp-assoc
Rust: Implement support for associated types accessed on type parameters
|
2026-02-11 13:39:55 +01:00 |
|
Simon Friis Vindum
|
6c67475352
|
Rust: Minor tweaks in type inference
|
2026-02-11 12:32:54 +01:00 |
|
Simon Friis Vindum
|
287a8717a8
|
Rust: Apply suggestions from code review
Co-authored-by: Tom Hvitved <hvitved@github.com>
|
2026-02-11 12:19:22 +01:00 |
|
Tom Hvitved
|
36c3084435
|
Merge pull request #21305 from hvitved/rust/type-inference-speedup
Rust: Speedup `inferMethodCallTypeSelf`
|
2026-02-11 11:03:06 +01:00 |
|
Tom Hvitved
|
37af38eed5
|
Merge pull request #21282 from hvitved/rust/path-resolution/type-inference-expectations
Rust: Distinguish path resolution expectations from type inference expectations
|
2026-02-11 11:00:28 +01:00 |
|
Tom Hvitved
|
89e9a253eb
|
Rust: Distinguish path resolution expectations from type inference expectations
|
2026-02-11 10:33:41 +01:00 |
|
Simon Friis Vindum
|
2b10c8aef3
|
Rust: Fix gramar in qldoc
|
2026-02-11 09:09:34 +01:00 |
|
Tom Hvitved
|
49f24ca8ec
|
Rust: Avoid using regexpCapture with multiple capture groups
|
2026-02-10 16:11:49 +01:00 |
|
Tom Hvitved
|
564a3bd444
|
Rust: Simplify inferMethodCallTypeSelf
|
2026-02-10 15:30:56 +01:00 |
|
Simon Friis Vindum
|
a033057d90
|
Rust: Fix a bad join
|
2026-02-10 09:54:01 +01:00 |
|
Simon Friis Vindum
|
624ee1898a
|
Rust: Implement support for associated types accessed on type parameters
|
2026-02-10 09:53:56 +01:00 |
|
Simon Friis Vindum
|
78c262ca63
|
Merge pull request #21297 from hvitved/rust/type-inference-fix-bug
Rust: Fix bug in `inferMethodCallTypeSelf`
|
2026-02-10 09:51:12 +01:00 |
|
Tom Hvitved
|
6611978368
|
Update rust/ql/lib/codeql/rust/internal/typeinference/DerefChain.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2026-02-09 19:38:49 +01:00 |
|
Tom Hvitved
|
16539b4667
|
Address review comments
|
2026-02-09 19:30:58 +01:00 |
|
Tom Hvitved
|
109d802607
|
Rust: Fix bug in inferMethodCallTypeSelf
|
2026-02-09 14:15:05 +01:00 |
|
Tom Hvitved
|
2dc7576232
|
Rust: Rework call disambiguation logic
|
2026-02-05 17:29:40 +01:00 |
|
Tom Hvitved
|
2764d697d2
|
Rust: Merge Input1 and Input2 modules
|
2026-02-05 14:29:46 +01:00 |
|
Simon Friis Vindum
|
52dc58172d
|
Merge branch 'main' into rust/as-path-trait
|
2026-02-04 14:47:57 +01:00 |
|
Simon Friis Vindum
|
55ea55a44f
|
Merge pull request #21247 from paldepind/rust/self-types
Rust: Resolve `Self` paths in type definitions
|
2026-02-04 13:41:53 +01:00 |
|
Simon Friis Vindum
|
d72d8b63ed
|
Rust: Fix inconsistency by skipping Self in use globs
|
2026-02-03 11:54:28 +01:00 |
|
Tom Hvitved
|
6fbf727309
|
Merge pull request #21251 from hvitved/rust/fix-bad-join
Rust: Fix bad join
|
2026-02-02 19:12:30 +01:00 |
|
Simon Friis Vindum
|
d0e30d19c4
|
Rust: Resolve as paths to trait
|
2026-02-02 16:47:43 +01:00 |
|
Henry Mercer
|
e712e62f14
|
Merge pull request #21250 from github/post-release-prep/codeql-cli-2.24.1
Post-release preparation for codeql-cli-2.24.1
|
2026-02-02 07:31:39 -08:00 |
|
Tom Hvitved
|
b16f1d3778
|
Rust: Fix bad join
Before
```
Evaluated relational algebra for predicate _PathResolution::ImplItemNode.getTraitPath/0#dispred#3b7d1cb6_PathResolution::ImplOrTraitItemNode.ge__#shared@0d3de6d9 with tuple counts:
395360270 ~2% {5} r1 = JOIN Type::TAssociatedTypeTypeParameter#6da9e52a WITH `PathResolution::ImplItemNode.getTraitPath/0#dispred#3b7d1cb6` CARTESIAN PRODUCT OUTPUT Rhs.0, Lhs.0, Lhs.1, Lhs.2, Rhs.1
1274237644 ~0% {6} | JOIN WITH `PathResolution::ItemNode.getASuccessor/1#8f430f71` ON FIRST 1 OUTPUT Lhs.1, Lhs.2, Lhs.3, Lhs.4, Rhs.1, Rhs.2
1274237644 ~0% {6} | JOIN WITH PathResolution::TraitItemNode#8d4ce62d ON FIRST 1 OUTPUT Lhs.0, Lhs.4, Lhs.1, Lhs.2, Lhs.3, Lhs.5
6984871 ~0% {5} | JOIN WITH `PathResolution::ImplOrTraitItemNode.getAssocItem/1#f77bb9ed` ON FIRST 3 OUTPUT Lhs.2, Lhs.0, Lhs.3, Lhs.4, Lhs.5
6984871 ~0% {4} | JOIN WITH TypeAlias::Generated::TypeAlias#1ca97780 ON FIRST 1 OUTPUT Lhs.4, Lhs.1, Lhs.2, Lhs.3
6076675 ~0% {4} | JOIN WITH `TypeAlias::Generated::TypeAlias.getTypeRepr/0#dispred#5fd7e521` ON FIRST 1 OUTPUT Rhs.1, Lhs.1, Lhs.2, Lhs.3
return r1
```
After
```
Evaluated relational algebra for predicate _PathResolution::ImplItemNode.getTraitPath/0#dispred#3b7d1cb6_PathResolution::ImplOrTraitItemNode.ge__#shared@760e0499 with tuple counts:
443292 ~2% {3} r1 = SCAN `PathResolution::ImplOrTraitItemNode.getAssocItem/1#f77bb9ed` OUTPUT In.0, In.2, In.1
1258 ~1% {3} | JOIN WITH Type::TAssociatedTypeTypeParameter#6da9e52a ON FIRST 2 OUTPUT Lhs.2, Lhs.0, Rhs.2
13656944 ~3% {4} | JOIN WITH `PathResolution::ItemNode.getASuccessor/1#8f430f71_102#join_rhs` ON FIRST 1 OUTPUT Rhs.1, Lhs.1, Lhs.2, Rhs.2
6984871 ~0% {4} | JOIN WITH `PathResolution::ImplItemNode.getTraitPath/0#dispred#3b7d1cb6` ON FIRST 1 OUTPUT Lhs.3, Lhs.1, Lhs.2, Rhs.1
6076675 ~0% {4} | JOIN WITH `TypeAlias::Generated::TypeAlias.getTypeRepr/0#dispred#5fd7e521` ON FIRST 1 OUTPUT Rhs.1, Lhs.1, Lhs.2, Lhs.3
return r1
```
|
2026-02-02 15:26:32 +01:00 |
|
github-actions[bot]
|
73d06f26cb
|
Post-release preparation for codeql-cli-2.24.1
|
2026-02-02 14:04:26 +00:00 |
|
Simon Friis Vindum
|
99b498b891
|
Rust: Resolve Self paths in type definitions
|
2026-02-02 13:51:59 +01:00 |
|
Simon Friis Vindum
|
8b03608a4f
|
Merge pull request #21188 from paldepind/rust/self-path-assoc
Rust: Implement type inference for associated types for concrete types
|
2026-02-02 13:50:43 +01:00 |
|
github-actions[bot]
|
0db542e9f0
|
Release preparation for version 2.24.1
|
2026-02-02 12:09:09 +00:00 |
|
Simon Friis Vindum
|
0567864a83
|
Rust: Make module private
Co-authored-by: Tom Hvitved <hvitved@github.com>
|
2026-02-02 12:57:26 +01:00 |
|
Simon Friis Vindum
|
18576838d4
|
Rust: Minor tweaks and improvements
|
2026-02-02 12:07:18 +01:00 |
|
Henry Mercer
|
497135593c
|
Merge branch 'main' into codeql-spark-run-21376405640
|
2026-01-27 09:11:02 -08:00 |
|
Simon Friis Vindum
|
2cb0e81da0
|
Rust: Remove duplicated inclusion of getAdditionalPathTypeAt
|
2026-01-27 16:17:52 +01:00 |
|
Simon Friis Vindum
|
aae5333325
|
Rust: Add test with type inference inconsistency
|
2026-01-27 16:17:51 +01:00 |
|
Simon Friis Vindum
|
fa59a8ae24
|
Rust: Implement TypeMention for paths that access associated types on concrete types
|
2026-01-27 16:17:49 +01:00 |
|
Simon Friis Vindum
|
4526afc29f
|
Rust: Paths to associated types resolve to the associated type if implementation is unclear
|
2026-01-27 16:17:48 +01:00 |
|
Jon Janego
|
1c5a9053f9
|
Fix typo in call graph description in change notes
|
2026-01-27 09:17:40 -06:00 |
|
Tom Hvitved
|
0f6bae0ae1
|
Add change notes
|
2026-01-26 12:40:22 +01:00 |
|
Tom Hvitved
|
c4e0dda178
|
Rust: Adapt to changes in FlowSummaryImpl
|
2026-01-26 12:40:10 +01:00 |
|
Simon Friis Vindum
|
452d307fd5
|
Rust: Make TypeMention directly satisfy HasTypeTree
|
2026-01-26 09:46:33 +01:00 |
|
Simon Friis Vindum
|
7100ca4262
|
Rust: Adapt to changes in shared type inference library
|
2026-01-26 09:33:50 +01:00 |
|
Geoffrey White
|
573ab025b4
|
Merge pull request #21191 from geoffw0/addsub
Rust: More test cases for add, sub etc
|
2026-01-23 10:30:21 +00:00 |
|
Geoffrey White
|
f484d95081
|
Merge remote-tracking branch 'upstream/main' into addsub
|
2026-01-22 16:03:42 +00:00 |
|
Simon Friis Vindum
|
ffaf1c0a24
|
Rust: Change getATypeParameterConstraint to not require a TypeMention
|
2026-01-22 14:54:24 +01:00 |
|
Simon Friis Vindum
|
7d34f6e262
|
Merge pull request #21204 from paldepind/rust/assoc-tp-fix
Rust: Remove mistakenly included inherited associated types
|
2026-01-22 13:46:09 +01:00 |
|
Geoffrey White
|
3d6765ba1c
|
Rust: Clean up / fix some existing models.
|
2026-01-22 12:29:20 +00:00 |
|
Geoffrey White
|
fa9677d615
|
Rust: Add model variants for core::ops::bit on Wrapping.
|
2026-01-22 12:29:14 +00:00 |
|
Geoffrey White
|
9d645508ea
|
Rust: Add model variants for core::ops:arith on Wrapping.
|
2026-01-22 10:46:15 +00:00 |
|
Simon Friis Vindum
|
114db99dca
|
Rust: Remove mistakenly included inherited associated types
|
2026-01-22 11:44:26 +01:00 |
|
Tom Hvitved
|
8ce2618b7d
|
Merge pull request #21151 from hvitved/rust/disable-universal-conds-by-default
Type inference: Disable universal conditions by default
|
2026-01-22 11:19:50 +01:00 |
|
Geoffrey White
|
e8ef58d381
|
Rust: Fix an issue with identifying sources and sinks in the test.
|
2026-01-22 09:58:58 +00:00 |
|