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
Peter Munch-Ellingsen
613829f7a4
Implement setLineInfo ( #21153 )
...
* Implement setLineInfo
* Add tests
2022-12-22 04:34:36 +01:00
flywind
2ef71c0a46
[testcase] genSym fails to make unique identifier for ref object types ( #19506 )
...
close #15118
2022-02-14 14:36:01 +01:00
Timothee Cour
3e7077ac7d
fix #14339 , #13511 , #14420 : fixes limited VM support for addr ( #16002 )
...
* fix #14339 : fixes limited VM support for addr
* strengthen test
* reference bug #16003
* also fixes #13511
* also fixes #14420
2020-11-25 20:48:10 +01:00
cooldome
341be0b61c
proc params as syms ( #15332 )
...
* proc params are now syms
* Fix typesrenderer
* Add testcase for disrupteks issue
* fix test
* Trigger build
* Trigger build
* Trigger build
Co-authored-by: Clyybber <darkmine956@gmail.com>
2020-09-16 17:25:24 +01:00
Clyybber
fb58066b61
Fix #5691 ( #15158 )
...
* Fix #5691
* Cleanup and thoughts
* Use scope approach
* Seperate defined/declared/declaredInScope magics
* Fix declaredInScope
* Update spec accordingly
2020-08-27 15:50:59 +02:00
Timothee Cour
169ca37d26
enable,document,test getImplTransformed, very useful for understanding how nim transforms code ( #14924 )
...
* enable,document,test getImplTransformed, very useful for understanding how nim transforms code
2020-07-18 10:49:36 +02:00
Timothee Cour
9c42ae91b7
add legacy workaround; improve test so that it actually tests for the bugfix
2020-06-19 09:53:06 +02:00
solo989
408518c9fe
Update tuple newLit
2020-06-19 09:53:06 +02:00
andri lim
c16a753822
fix macrocache implementation ( #11404 )
...
* macrocache improvements
* fix macrocache implementation
2019-06-05 14:56:45 +02:00
Araq
5f4e8dc4c9
added a nice test case for macro based lookup tables
2019-06-04 11:16:30 +02:00
Arne Döring
aeb6ec27de
fix for return in macro ( #9666 ); fixes #5874
2019-05-20 12:18:53 +02:00
Araq
562d185cb7
cleanup tests; don't use non-working 'msg' spec field
2018-11-23 13:16:45 +01:00
Miran
1b17c9f693
More descriptive names of test files ( #9531 )
...
* change generic `tissues` name to more specific
* change `tvarious` to more specific names
2018-10-29 17:07:27 +01:00