aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/vars.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use "target()" to parse "when" blockLibravatar René Kijewski2021-07-301-0/+26
| | | | | | | | | | | | `target()` as used in parsing "let" and "if let" implements parsing nested tuples and structs. But it does not implement parsing literals. The functions `match_variant()` and `with_parameters()` as used in parsing "when" blocks do not implement parsing nested structs, but it implements parsing literals. This PR combines `match_variant()` and `with_parameters()` into `target()`, so that all `{%when%}` support nested structs, too.
* Add tuple destructoring testsLibravatar René Kijewski2021-07-051-0/+14
|
* Added let shadow testLibravatar vallentin2020-12-251-0/+21
|
* Write conditional blocks before popping variable stack (see #227)Libravatar Dirkjan Ochtman2020-01-121-0/+15
|
* Clean up clippy warningsLibravatar Dirkjan Ochtman2020-01-021-0/+2
|
* Remove debugging cruftLibravatar Dirkjan Ochtman2019-03-181-5/+1
|
* Allow referencing self as a variable (fixes #207)Libravatar Dirkjan Ochtman2019-02-201-0/+14
|
* Add support for tupleLibravatar yossyJ2019-01-041-0/+16
|
* Use 2018 edition idiomsLibravatar Dirkjan Ochtman2018-12-081-2/+0
|
* Remove unused macro_use attributesLibravatar Dirkjan Ochtman2018-12-081-1/+0
|
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2018-06-211-2/+4
|
* Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman2017-09-071-1/+1
|
* Change one test case to use source attributeLibravatar Dirkjan Ochtman2017-08-161-1/+1
|
* Add test for variable declarationLibravatar Dirkjan Ochtman2017-08-161-0/+14
|
* Add test for let blocksLibravatar Dirkjan Ochtman2017-08-151-0/+16