summary refs log tree commit diff stats
path: root/tests/pragmas
Commit message (Collapse)AuthorAgeFilesLines
* Fix astdef typ deref (#10245)Alexander Ivanov2019-04-051-2/+11
|
* add tests for recently closed issues (#10722)Miran2019-02-231-0/+10
|
* 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
* exportc is now not allowed for type aliases (#9979)Neelesh Chandola2019-01-021-0/+12
|
* fixes #10101 (#10103)Timothee Cour2018-12-271-1/+1
|
* Merge pull request #9937 from cooldome/pragmablock_custom_pragmaAndreas Rumpf2018-12-121-0/+22
|\ | | | | Language feature: implement custom pragmas in pragma blocks
| * add testAndrii Riabushenko2018-12-111-0/+22
| |
* | make tests green; better output for when megatest execution failsAraq2018-12-111-1/+1
| |
* | testament: joinable is now an explicit concept of a test specAndreas Rumpf2018-12-111-0/+2
| |
* | require errormsg to be specified before file.Arne Döring2018-12-113-4/+4
|/
* add comment, fixes #9896Andrii Riabushenko2018-12-081-0/+1
|
* Fix hintXDeclaredButNotUsed for enum fields marked as usedAndrii Riabushenko2018-12-081-0/+5
|
* make run the default action of a test in testerArne Döring2018-11-231-0/+1
|
* Fix overload resolution for pragmas evaluation (#8902)LemonBoy2018-10-093-0/+22
| | | | Fixes #6448 Fixes #4384
* make tests green againAndreas Rumpf2018-09-242-5/+5
|
* Bugfix: custom pragmas were not working on public fieldsZahary Karadjov2018-09-171-1/+1
|
* Merge branch 'devel' into experimentalize-reorderawr12018-09-043-0/+53
|\
| * added missing file to make tests greenAraq2018-08-271-0/+30
| |
| * allow .experimental in a .push/pop environment; refs #8676Araq2018-08-271-0/+13
| |
| * More checks for custom pragmas placement (#8765)LemonBoy2018-08-251-1/+1
| | | | | | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them.
| * Validate pragmas attached to for variables (#8749)LemonBoy2018-08-241-0/+10
| | | | | | Fixes #8741
* | tabling declared() stuffawr2018-09-041-12/+0
| |
* | transformed {.reorder: on.} into {.experimental: codeReordering.}, added testsawr2018-09-042-2/+15
|/
* fixes more nil handling regressionsAraq2018-08-131-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
* Adjust some tests to make them passLemonBoy2018-06-251-2/+1
| | | | | | The non-scoped behaviour of static blocks was exploited by those tests, replace all the variables declared whithin one with compileTime marked ones.
* remove dead code elimination option (#7669)Jacek Sieka2018-04-231-2/+5
|
* 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
|
* User pragmas hide effect specs bug fix. Fixes #7216 (#7217)cooldome2018-02-271-0/+11
|
* Custom pragmas in procs bug fix (#7086)cooldome2018-01-181-0/+10
|
* Implement custom annotations (#6987)cooldome2018-01-092-0/+48
|
* Allow noreturn procs with void type (#6973)cooldome2017-12-271-0/+4
|
* Implement language feature #6885 (#6954)cooldome2017-12-241-0/+18
|
* Add sections (type, var, let, const, using) support for reorder pragma (#6326)BigEpsilon2017-10-281-0/+75
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* Lineinfo change (#6084)Arne Döring2017-07-171-1/+1
|
* make tests green againAraq2017-06-091-1/+1
|
* Make use of `used` in unittest (#5410)Fabian Keller2017-02-251-5/+27
|
* Enabled explicitly unknown lock levels (#5409)Fabian Keller2017-02-201-0/+13
| | | | | | | * enabled explicitly unknown lock levels * allowing "unknown" as locks pragma * added test case for locks pragma * updated docs on locks pragma
* new feature: .used pragma to suppress declared-but-not-used warningAraq2017-02-171-0/+13
|
* ensure generated c-code matchesAman Gupta2015-09-301-0/+4
|
* better assertions for bitfield behaviorAman Gupta2015-09-291-3/+14
|
* implement bitsize pragma for bitfieldsAman Gupta2015-09-281-0/+7
|