Files
Nim/tests/concepts
Ryan McConnell f5453e453e Fixes 3 small issues with concepts (#24481)
issue 1 - statics in the type:
This probably only handles simple cases. It's probably too accepting
only comparing the base, but that should only affect candidate selection
I think.
issue 2 - `tyArray` of length 3:
This is just a work around since I couldn't get the fix right in
previous PR
issue 3 - shadowing:
The part in `concepts.nim` that iterates candidates does not consider
imported idents if at least once module level ident matches. It does not
have to match in any other way then name.

EDIT: 2 more
issue 4 - composite typeclasses:
when declared in both the concept and the `proc` can cause problems
issue 5 - recursion:
simple recursion and scenarios where more than one concepts recurse
together (only tested two)

(cherry picked from commit e479151473)
2025-01-14 12:15:59 +01:00
..
2017-06-20 11:29:42 +02:00
2017-07-25 09:28:23 +02:00
2015-03-25 13:21:50 +01:00
2022-09-23 13:05:05 +02:00
2020-10-30 09:57:26 +01:00
2017-12-21 11:04:05 +01:00
2017-12-21 11:06:36 +01:00
2017-07-25 09:28:23 +02:00
2018-08-21 22:14:12 +02:00
2018-12-11 21:23:21 +01:00
2018-03-24 15:28:09 +01:00
2022-09-23 13:05:05 +02:00
2015-03-25 13:21:50 +01:00
2019-04-02 08:23:13 +02:00
2021-04-06 16:20:01 +02:00