Files
Nim/tests/overload
metagn 1660ddf98a make var/pointer types not match if base type has to be converted (#24130)
split again from #24038, fixes
https://github.com/status-im/nimbus-eth2/pull/6554#issuecomment-2354977102

`var`/pointer types are no longer implicitly convertible to each other
if their element types either:

* require an int conversion or another conversion operation as long as
it's not to `openarray`,
* are subtypes with pointer indirection,

Previously any conversion below a subrange match would match if the
element type wasn't a pointer type, then it would error later in
`analyseIfAddressTaken`.

Different from #24038 in that the preview define that made subrange
matches also fail to match is removed for a simpler diff so that it can
be backported.
2024-09-18 17:37:18 +02:00
..
2016-09-03 21:21:06 +10:00
2016-09-03 21:21:06 +10:00
2020-10-30 09:59:38 +01:00
2018-05-02 13:34:54 +02:00
2022-10-24 21:41:29 +02:00
2017-07-25 09:28:23 +02:00
2018-03-05 13:38:32 +01:00