aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/vars.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-30Use "target()" to parse "when" blockLibravatar René Kijewski1-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.
2021-07-05Add tuple destructoring testsLibravatar René Kijewski1-0/+14
2020-12-25Added let shadow testLibravatar vallentin1-0/+21
2020-01-12Write conditional blocks before popping variable stack (see #227)Libravatar Dirkjan Ochtman1-0/+15
2020-01-02Clean up clippy warningsLibravatar Dirkjan Ochtman1-0/+2
2019-03-18Remove debugging cruftLibravatar Dirkjan Ochtman1-5/+1
2019-02-20Allow referencing self as a variable (fixes #207)Libravatar Dirkjan Ochtman1-0/+14
2019-01-04Add support for tupleLibravatar yossyJ1-0/+16
2018-12-08Use 2018 edition idiomsLibravatar Dirkjan Ochtman1-2/+0
2018-12-08Remove unused macro_use attributesLibravatar Dirkjan Ochtman1-1/+0
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-2/+4
2017-09-07Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman1-1/+1
2017-08-16Change one test case to use source attributeLibravatar Dirkjan Ochtman1-1/+1
2017-08-16Add test for variable declarationLibravatar Dirkjan Ochtman1-0/+14
2017-08-15Add test for let blocksLibravatar Dirkjan Ochtman1-0/+16