Files
Nim/lib/pure
metagn 037f87d904 top-down type inference, implements rfc 149 (#20091)
* micro implementation of rfc 149

refs https://github.com/nim-lang/RFCs/issues/149

* number/array/seq literals, more statements

* try fix number literal alias issue

* renew expectedType with if/case/try branch types

* fix (nerf) index type handling and float typed int

* use typeAllowed

* tweaks + const test (tested locally) [skip ci]

* fill out more of the checklist

* more literals, change @ order, type conversions

Not copying the full call tree before the typedesc call check
in `semIndirectOp` is also a small performance improvement.

* disable self-conversion warning

* revert type conversions (maybe separate op later)

* deal with CI for now (seems unrelated), try enums

* workaround CI different way

* proper fix

* again

* see sizes

* lol

* overload selection, simplify int literal -> float

* range, new @ solution, try use fitNode for nil

* use new magic

* try fix ranges, new magic, deal with #20193

* add documentation, support templates

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
(cherry picked from commit 0014b9c48e)
2023-05-11 15:12:38 +02:00
..
2021-09-02 12:10:14 +02:00
2021-08-31 08:14:05 +02:00
2021-02-23 21:05:39 -08:00
2015-10-01 12:05:45 -07:00
2021-02-23 21:05:39 -08:00
2021-07-13 09:22:33 +02:00
2021-04-08 14:08:58 +02:00
2018-04-06 11:59:49 +02:00
2023-04-24 09:43:55 +02:00
2021-01-09 00:24:41 +01:00
2021-10-01 13:57:06 +02:00
2021-03-10 10:39:23 -08:00
2021-08-19 11:35:40 +02:00
2023-02-18 10:50:33 +01:00
2021-04-06 22:08:59 +02:00
2021-09-19 23:35:50 +02:00
2021-02-24 21:47:27 -08:00
2021-05-04 13:13:23 +02:00
2023-02-16 10:56:56 +01:00
2021-02-21 00:27:39 -08:00
2021-02-21 00:27:39 -08:00
2021-07-20 12:50:43 +02:00
2021-08-23 00:13:39 +02:00
2021-12-31 05:13:46 +01:00
2021-10-07 12:01:27 +02:00
2021-02-22 09:40:11 +01:00
2021-10-05 12:29:59 +02:00
2021-04-26 09:04:52 +02:00
2021-02-08 09:46:07 +01:00
2020-11-23 19:53:57 +01:00