summary refs log tree commit diff stats
path: root/tests/pragmas/tcustom_pragma.nim
Commit message (Collapse)AuthorAgeFilesLines
* use doAssert in tests (#16486)flywind2020-12-281-30/+30
|
* close #8457 (#15844)flywind2020-11-051-0/+11
|
* Add test-cases for #12576 and #12523 (#15085)Danil Yarantsev2020-07-271-2/+23
| | | | | * Add a test-case for #12576 * Add a test-case for #12523
* fix #13909 (#13914) [backport:1.2]cooldome2020-04-081-0/+11
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* macros for proc types, macros for types (#13778)Andreas Rumpf2020-03-311-1/+87
| | | | | | | | | * new minor feature: macros for proc types, to be documented * Finished the implementation and added tests * [skip ci] Describe the new custom pragmas in the manual and the changelog Co-authored-by: Zahary Karadjov <zahary@gmail.com>
* Fix astdef typ deref (#10245)Alexander Ivanov2019-04-051-2/+11
|
* Prevent crash on pragma templates w/ generics (#10685)LemonBoy2019-02-181-0/+7
| | | | | | | | | * Prevent crash on pragma templates w/ generics * Remove incorrect call to pragma reconversion `semOverloadedCall` may return a node with more elements than the original nkCall node had (implicit and/or explicit generics).
* Misc macro things (#10612)LemonBoy2019-02-091-1/+1
| | | | | | | | | | | | * Misc cleanup in macro code Generate error messages using `error` instead of `assert`. Fixes #10574 * Fix crash with hasCustomPragma on quoted fields Use the `$` operator instead of reaching for the `strVal` field directly
* Fix getCustomPragmaVal on `var` fieldsLemonBoy2019-02-061-0/+5
|
* Fixed getCustomPragmaVal to allow multiple fields in custom annotations (#10289)Ico Doornekamp2019-01-181-0/+9
|
* add custom pragma support for var and let symbols (#9582)jcosborn2019-01-071-6/+29
| | | | | | * add custom pragma support for var and let symbols * updated changelog for custom pragmas on var and let symbols * add oldast switch for backwards compatibility
* add testAndrii Riabushenko2018-12-111-0/+22
|
* Bugfix: custom pragmas were not working on public fieldsZahary Karadjov2018-09-171-1/+1
|
* fixes #8371, macros.hasCustomPragma doesn't crash anymore (#8378)andri lim2018-07-201-0/+20
| | | | | | * fixes #8371, macros.hasCustomPragma doesn't crash anymore * fix macros.hasCustomPragma
* Custom pragmas in proc types (#8205)cooldome2018-07-091-1/+9
|
* Fix use of custom pragmas in generic procs (#8165)LemonBoy2018-07-011-1/+9
| | | Fixes #7626
* hasCustomPragma/getCustomPragmaVal: small fix (#7650)RSDuck2018-04-191-1/+9
| | | | | | | | * fix hasCustomPragma/getCustomPragmaVal for types without pragma * fix pragma on pointer test * removed trailing spaces
* fixes #7451 (#7575)RSDuck2018-04-141-11/+90
|
* Custom pragmas in procs bug fix (#7086)cooldome2018-01-181-0/+10
|
* Implement custom annotations (#6987)cooldome2018-01-091-0/+43