Geoffrey White
|
942a980dac
|
Rust: Update PoemHandlerParam from getResolvedPath -> getCanonicalPath.
|
2025-06-17 15:55:40 +01:00 |
|
Tom Hvitved
|
433756debb
|
Rust: Make SummarizedCallable extend Function instead of string
|
2025-06-17 14:12:38 +02:00 |
|
Geoffrey White
|
4292b03b5c
|
Rust: Add logic for Vecs and slices.
|
2025-06-17 10:58:26 +01:00 |
|
Geoffrey White
|
66d6770c3f
|
Rust: If we're inferring both ways, it should really be to any element.
|
2025-06-17 10:47:35 +01:00 |
|
Geoffrey White
|
69da4e7462
|
Rust: Move inferArrayExprType logic into typeEquality predicate.
|
2025-06-17 10:45:57 +01:00 |
|
Simon Friis Vindum
|
f18acdf11f
|
Rust: Generalize type of debug predicate
|
2025-06-17 10:34:42 +02:00 |
|
Simon Friis Vindum
|
a0bc455d53
|
Rust: Account for borrows in operators in type inference
|
2025-06-17 10:34:41 +02:00 |
|
Simon Friis Vindum
|
cc234f2d19
|
Rust: Add a type inference test
|
2025-06-17 10:34:39 +02:00 |
|
Simon Friis Vindum
|
ebdffcc4ef
|
Rust: Refactor and generalize Call
|
2025-06-17 10:34:38 +02:00 |
|
Tom Hvitved
|
631b14a0df
|
Rust: Fix three models
|
2025-06-16 14:28:06 +02:00 |
|
Paolo Tranquilli
|
30ab9b7b84
|
Merge pull request #19772 from github/redsun82/rust-test-cargo-lock
Rust: add `Cargo.lock` files to all tests with `cargo check`
|
2025-06-16 12:21:30 +02:00 |
|
Paolo Tranquilli
|
8b98e2a559
|
Rust: accept test changes
|
2025-06-16 11:54:07 +02:00 |
|
Paolo Tranquilli
|
55096a31f2
|
Rust: add Cargo.lock files to all tests with cargo check
|
2025-06-16 10:52:53 +02:00 |
|
Simon Friis Vindum
|
8fe737ca52
|
Rust: Use defaults for type parameters
|
2025-06-16 09:54:01 +02:00 |
|
Simon Friis Vindum
|
38aacb04c2
|
Rust: Add debug predicate for type mentions
|
2025-06-16 09:52:42 +02:00 |
|
Simon Friis Vindum
|
1425bb8b08
|
Rust: Add type inference tests with default for type parameters
|
2025-06-16 09:52:38 +02:00 |
|
Paolo Tranquilli
|
2a51749a31
|
Merge pull request #19748 from github/redsun82/rust-models
Rust: regenerate models
|
2025-06-16 08:37:00 +02:00 |
|
Simon Friis Vindum
|
ef15df35c6
|
Rust: Apply review suggestions
|
2025-06-13 15:43:44 +02:00 |
|
Simon Friis Vindum
|
eacf034dde
|
Rust: Disambiguate some method calls based on argument types
|
2025-06-13 15:43:39 +02:00 |
|
Simon Friis Vindum
|
d1aee7f704
|
Rust: Add type inference test
|
2025-06-13 15:42:08 +02:00 |
|
Tom Hvitved
|
6cca01662d
|
Merge pull request #19755 from hvitved/rust/type-inference-operand-workaround
Rust: Temporarily disable type information to flow into operands
|
2025-06-13 15:25:34 +02:00 |
|
Geoffrey White
|
14b75a968b
|
Apply suggestions from code review
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
|
2025-06-13 14:09:49 +01:00 |
|
Geoffrey White
|
6194676b7d
|
Rust: Accept consistency failures (for now).
|
2025-06-13 13:51:01 +01:00 |
|
Geoffrey White
|
62e3cc57c6
|
Merge branch 'main' into typeinfer
|
2025-06-13 13:45:19 +01:00 |
|
Tom Hvitved
|
5f4d588cd9
|
Rust: Temporarily disable type information to flow into operands
|
2025-06-13 14:21:02 +02:00 |
|
Geoffrey White
|
b89d6d3402
|
Rust: Implement type inference for ArrayRepeatExprs.
|
2025-06-13 12:58:51 +01:00 |
|
Geoffrey White
|
51343a5c03
|
Rust: Implement type inference for ArrayListExprs.
|
2025-06-13 12:58:49 +01:00 |
|
Geoffrey White
|
f76b56291b
|
Rust: Implement type inference for 'for' loops on arrays.
|
2025-06-13 12:58:47 +01:00 |
|
Geoffrey White
|
840ef5ce92
|
Rust: Add test cases for type inference in loops.
|
2025-06-13 12:37:32 +01:00 |
|
Tom Hvitved
|
2f698d1590
|
Rust: Type inference for macro expressions
|
2025-06-13 13:11:11 +02:00 |
|
Tom Hvitved
|
fd59a27bd2
|
Rust: Add macro expr type inference test
|
2025-06-13 13:11:07 +02:00 |
|
Tom Hvitved
|
ad64e04475
|
Merge pull request #19737 from hvitved/rust/type-inference-string-str-deref
Rust: Model `String` -> `str` implicit conversion in type inference
|
2025-06-13 13:09:24 +02:00 |
|
Paolo Tranquilli
|
ad3a5d777d
|
Rust: add public preview change notes
|
2025-06-13 13:03:39 +02:00 |
|
Paolo Tranquilli
|
ff9ac3bb6f
|
Rust: accept test changes
|
2025-06-13 11:56:12 +02:00 |
|
Tom Hvitved
|
66c0ff61bb
|
Rust: Model String -> str implicit conversion in type inference
|
2025-06-13 11:32:23 +02:00 |
|
Paolo Tranquilli
|
118456d127
|
Rust: regenerate models
Models are regenerated with the fix from https://github.com/github/codeql/pull/19744
which corrects the order of generation.
|
2025-06-13 09:06:15 +02:00 |
|
Tom Hvitved
|
3d18e3ea8f
|
Rust: Use hasImplementation in path resolution
|
2025-06-13 08:44:44 +02:00 |
|
Tom Hvitved
|
5b5074e922
|
Rust: Add another type inference test
|
2025-06-12 21:48:40 +02:00 |
|
Paolo Tranquilli
|
22c490ce4e
|
Merge pull request #19667 from github/redsun82/rust-mad
Rust: Use QL computed canonical paths in MaD `Field` tokens
|
2025-06-12 20:48:41 +02:00 |
|
Paolo Tranquilli
|
a5dba9b54f
|
Merge pull request #19649 from github/redsun82/rust-has-implementation
Rust: extract `hasImplementation` on functions and consts
|
2025-06-12 15:19:23 +00:00 |
|
Simon Friis Vindum
|
e30a9e9906
|
Merge pull request #19685 from paldepind/rust/df-operator-overloading
Rust: Data flow through overloaded operators
|
2025-06-12 17:08:16 +02:00 |
|
Paolo Tranquilli
|
b102d5c39d
|
Rust: accept test changes
|
2025-06-12 16:19:17 +02:00 |
|
Paolo Tranquilli
|
836b81de40
|
Rust: fix mdoel
|
2025-06-12 15:50:21 +02:00 |
|
Paolo Tranquilli
|
506ea11d07
|
Rust: simplify upgrade script
|
2025-06-12 15:31:11 +02:00 |
|
Paolo Tranquilli
|
ad7fb9c061
|
Merge branch 'main' into redsun82/rust-has-implementation
|
2025-06-12 15:25:59 +02:00 |
|
Simon Friis Vindum
|
2dd2f2e72b
|
Rust: Address review comments
|
2025-06-12 14:12:27 +02:00 |
|
Tom Hvitved
|
93fd6ec826
|
Merge pull request #19729 from hvitved/rust/type-inference-adjust-type-relevant-access
Rust: Also apply `adjustedAccessType` in `RelevantAccess`
|
2025-06-12 13:04:13 +02:00 |
|
Paolo Tranquilli
|
455490436c
|
Rust: fix dataflow models test expectation
|
2025-06-12 12:16:37 +02:00 |
|
Tom Hvitved
|
9e6ce98491
|
Merge pull request #19728 from hvitved/rust/type-inference-debug-predicates
Rust: Add another type inference debug predicate
|
2025-06-12 12:15:19 +02:00 |
|
Simon Friis Vindum
|
8cde1eefb2
|
Rust: Remove Access from adjustAccessType
|
2025-06-12 11:16:32 +02:00 |
|