hkalbasi
|
36c9d5ce17
|
Fix pattern type mismatch in tuples
|
2023-05-04 16:03:36 +03:30 |
|
Lukas Wirth
|
99b69525f4
|
hir_def::expr -> hir_def::hir, hir_def::type_ref -> hir_def::hir::type_ref
|
2023-04-06 19:36:25 +02:00 |
|
hkalbasi
|
d7da9e64d1
|
Add storage dead for let bindings without initializer
|
2023-03-14 12:15:16 +03:30 |
|
hkalbasi
|
af90ec8096
|
Partially support "overloaded deref" MIR lowering
|
2023-03-06 21:09:09 +03:30 |
|
hkalbasi
|
61ad6a96ad
|
Add BindingId
|
2023-03-06 21:09:08 +03:30 |
|
Lukas Wirth
|
a8606e5363
|
Re-use the resolver in InferenceContext instead of rebuilding it on every expression change
|
2023-03-05 14:37:44 +01:00 |
|
Lukas Wirth
|
522823f610
|
Fix text fixtures of missing_match_arms diagnostics
|
2023-03-03 11:13:06 +01:00 |
|
Lukas Wirth
|
44e2c6ea92
|
Don't emit two type mismatches for literal pattern mismatches
|
2023-03-03 10:42:49 +01:00 |
|
Lukas Wirth
|
ec273c3d12
|
Split pattern inference into more functions
|
2023-03-03 10:42:46 +01:00 |
|
Lukas Wirth
|
fc2b395e00
|
Show pattern mismatch diagnostics
|
2023-03-03 10:41:44 +01:00 |
|
hkalbasi
|
cd67589f63
|
beginning of MIR
|
2023-02-27 23:45:54 +03:30 |
|
Daniel Eades
|
efd2c20e96
|
remove useless conversions
|
2023-01-02 15:02:54 +00:00 |
|
Daniel Eades
|
ed128872eb
|
remove needless borrows
|
2023-01-02 14:52:32 +00:00 |
|
Ryo Yoshida
|
ffc6b42901
|
fix: infer byte string pattern as &[u8] when matched against slices
|
2022-08-10 19:17:13 +09:00 |
|
Artur Sinila
|
83177a7cfe
|
fix: address suggestions
|
2022-07-17 18:22:11 +03:00 |
|
Artur Sinila
|
a96f0aa7cd
|
feat: support negative const generic parameters
* feat: support `bool` & `char` const generics
|
2022-07-17 04:18:53 +03:00 |
|
Ryo Yoshida
|
62d6b5a594
|
Generalize some inference functions for patterns
|
2022-06-01 01:22:11 +09:00 |
|
Ryo Yoshida
|
be2fa2b31b
|
fix overflow during tuple struct type inference
|
2022-05-29 16:22:33 +09:00 |
|
Roland Ruckerbauer
|
86bb27f1a4
|
Fix inference when pattern matching a tuple field with a wildcard.
|
2022-05-23 12:24:54 +02:00 |
|
Lukas Wirth
|
6b696fced8
|
feat: Add binding mode inlay hints
|
2022-05-14 14:58:35 +02:00 |
|
Peh
|
1f011fa4a3
|
style: rename crates to kebab case
|
2022-05-01 10:48:58 +00:00 |
|