Nim/lib/core
Jake Leahy 900fe8f501
Add contains to std/macrocache (#21304)
* Add test cases

* Implement contains for CacheSeq

* Implement contains for CacheTable

* Fix implementation of hasKey

* Remove contains for CacheSeq

Fix runnable examples

I was accidently using --doccmd:skip so I didn't spot the failure locally

* Implement hasKey as a VM callback instead of magic

* Implement suggestions from PR

Co-Authored-By: ringabout <ringabout@users.noreply.github.com>

* Update lib/core/macrocache.nim

---------

Co-authored-by: ringabout <ringabout@users.noreply.github.com>
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
2023-02-01 10:00:10 +01:00
..
hotcodereloading.nim style fix: change 'JS' to 'js' to make it consistent (#13168) 2020-01-16 14:14:03 +01:00
locks.nim move threads out of system (#20674) 2022-10-29 18:11:40 +02:00
macrocache.nim Add contains to std/macrocache (#21304) 2023-02-01 10:00:10 +01:00
macros.nim Fix getting custom pragma from generic object (#20481) 2023-01-11 20:44:33 -05:00
rlocks.nim move threads out of system (#20674) 2022-10-29 18:11:40 +02:00
typeinfo.nim fix #12122 (#21096) 2022-12-16 08:01:15 +01:00