SirOlaf
8d8d75706c
Add experimental inferGenericTypes switch ( #22317 )
...
* Infer generic bindings
* Simple test
* Add t
* Allow it to work for templates too
* Fix some builds by putting bindings in a template
* Fix builtins
* Slightly more exotic seq test
* Test value-based generics using array
* Pass expectedType into buildBindings
* Put buildBindings into a proc
* Manual entry
* Remove leftover `
* Improve language used in the manual
* Experimental flag and fix basic constructors
* Tiny commend cleanup
* Move to experimental manual
* Use 'kind' so tuples continue to fail like before
* Explicitly disallow tuples
* Table test and document tuples
* Test type reduction
* Disable inferGenericTypes check for CI tests
* Remove tuple info in manual
* Always reduce types. Testing CI
* Fixes
* Ignore tyGenericInst
* Prevent binding already bound generic params
* tyUncheckedArray
* Few more types
* Update manual and check for flag again
* Update tests/generics/treturn_inference.nim
* var candidate, remove flag check again for CI
* Enable check once more
---------
Co-authored-by: SirOlaf <>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-08-03 22:49:52 +02:00
..
2023-06-08 08:02:11 +02:00
2023-04-24 06:52:37 +02:00
2022-11-16 07:36:14 +01:00
2022-09-11 13:52:43 -04:00
2023-07-29 10:57:03 +02:00
2022-12-26 13:20:05 +01:00
2021-08-13 09:35:48 +02:00
2023-02-22 20:34:20 +01:00
2022-03-23 20:34:53 +01:00
2023-05-08 16:25:47 +02:00
2023-05-21 00:19:09 +02:00
2023-08-03 19:56:05 +02:00
2022-09-28 15:05:01 +02:00
2022-11-30 21:51:13 +01:00
2022-09-27 10:57:47 +02:00
2023-07-31 22:14:15 +08:00
2022-09-27 10:57:47 +02:00
2022-09-27 10:57:47 +02:00
2023-07-29 18:05:31 +02:00
2023-05-21 04:44:43 +02:00
2023-07-24 17:22:50 +02:00
2023-08-02 11:00:34 +02:00
2023-04-24 06:52:37 +02:00
2023-07-22 06:37:27 +02:00
2023-06-10 07:09:03 +02:00
2023-07-24 17:22:50 +02:00
2023-06-18 16:06:14 +02:00
2023-07-06 08:18:47 +02:00
2023-07-29 10:57:03 +02:00
2017-01-07 22:35:09 +01:00
2022-06-10 20:40:08 +02:00
2023-07-14 12:40:24 +02:00
2023-06-27 22:42:48 +02:00
2023-07-20 19:56:04 +02:00
2023-07-22 19:10:12 +02:00
2023-04-24 06:52:37 +02:00
2022-03-23 20:34:53 +01:00
2022-12-16 08:01:15 +01:00
2023-06-06 23:31:55 +02:00
2023-07-31 22:14:15 +08:00
2021-09-25 13:22:00 +02:00
2019-11-28 17:13:04 +01:00
2023-05-02 10:49:17 +02:00
2022-10-21 22:46:32 +02:00
2022-10-17 23:48:51 +02:00
2022-03-23 20:34:53 +01:00
2023-07-03 14:08:40 +02:00
2020-06-01 19:21:41 +02:00
2023-07-29 10:57:03 +02:00
2023-06-10 17:32:11 +02:00
2023-02-24 09:02:15 +01:00
2023-05-14 16:58:28 +02:00
2023-08-02 11:00:34 +02:00
2023-02-27 00:56:43 +01:00
2023-04-24 06:52:37 +02:00
2023-05-06 21:27:28 +02:00
2023-05-11 10:10:51 +02:00
2023-07-19 12:57:58 +02:00
2021-03-09 20:19:24 +01:00
2023-07-29 10:57:03 +02:00
2023-05-06 19:10:13 +02:00
2022-03-23 20:34:53 +01:00
2023-06-21 16:30:55 +02:00
2023-07-19 12:57:58 +02:00
2021-01-12 09:36:51 +01:00
2023-05-12 10:05:38 +02:00
2023-06-10 07:09:03 +02:00
2023-05-30 21:47:26 +02:00
2022-05-30 18:52:19 +02:00
2023-03-03 07:36:38 +01:00
2023-07-07 12:38:37 +02:00
2022-03-23 20:34:53 +01:00
2023-04-24 06:52:37 +02:00
2023-06-29 10:51:18 +02:00
2023-05-11 10:23:52 +02:00
2023-05-02 10:49:17 +02:00
2022-03-26 11:50:15 +01:00
2023-06-30 23:03:25 +02:00
2022-03-23 20:34:53 +01:00
2022-09-11 13:52:43 -04:00
2022-03-23 20:34:53 +01:00
2023-03-08 22:34:59 +01:00
2023-04-17 20:55:22 +02:00
2023-05-12 15:24:14 +02:00
2023-08-03 22:49:52 +02:00
2022-05-30 18:52:19 +02:00
2023-04-24 06:52:37 +02:00
2022-10-01 16:46:51 +02:00
2023-07-24 19:48:41 +02:00
2022-08-24 09:44:16 +02:00
2023-05-02 10:49:17 +02:00
2023-03-02 09:16:28 +01:00
2022-10-17 23:48:51 +02:00
2023-04-07 22:18:09 +02:00
2023-03-03 07:36:38 +01:00
2023-02-16 13:47:52 +01:00
2018-05-27 19:19:12 +02:00
2023-07-23 16:42:20 +02:00
2020-11-25 07:48:27 +01:00
2020-09-22 18:24:13 +02:00
2023-07-02 22:36:05 +02:00
2023-07-20 19:56:54 +02:00
2022-08-09 16:32:29 +08:00
2023-01-01 10:25:04 +01:00
2022-08-24 13:38:30 +02:00
2023-05-30 13:41:56 +02:00
2020-09-11 01:04:07 +02:00
2023-07-03 14:15:44 +02:00
2023-07-25 12:08:32 +02:00
2023-08-03 22:49:52 +02:00
2023-08-03 22:49:52 +02:00
2023-08-03 22:49:52 +02:00
2023-04-24 06:52:37 +02:00
2023-02-02 13:11:20 -05:00
2023-06-07 11:36:51 +02:00
2023-06-27 14:58:02 +02:00
2022-10-22 06:37:23 +02:00
2023-07-29 10:57:03 +02:00
2023-07-25 12:08:32 +02:00
2023-04-24 06:52:37 +02:00
2023-07-19 09:45:28 +02:00
2023-07-22 21:13:55 +02:00
2022-12-11 16:58:50 +01:00
2023-06-16 08:38:48 +02:00
2023-07-23 16:42:20 +02:00
2023-06-13 20:05:44 +02:00
2023-05-02 10:49:17 +02:00
2023-07-23 16:42:20 +02:00
2022-12-10 15:42:22 +01:00
2023-04-24 06:52:37 +02:00
2023-02-27 00:57:02 +01:00
2023-05-08 16:25:47 +02:00
2023-07-10 08:34:10 +02:00
2022-04-25 12:00:23 +02:00
2022-08-19 15:40:53 -04:00
2023-07-10 10:31:13 +02:00
2023-06-06 23:31:55 +02:00
2022-03-23 20:34:53 +01:00
2023-04-18 00:31:47 +08:00
2023-06-13 20:05:44 +02:00
2023-04-11 09:23:41 +02:00
2023-07-29 10:57:03 +02:00
2023-06-25 00:01:08 +02:00
2022-12-10 18:57:19 +01:00
2023-01-26 23:49:04 +01:00
2023-04-24 06:52:37 +02:00
2023-07-29 10:57:03 +02:00
2023-06-17 05:42:05 +02:00
2023-04-24 06:52:37 +02:00
2023-06-17 05:42:05 +02:00
2023-05-04 15:44:46 +08:00
2023-07-23 13:39:58 +02:00