lix/tests/unit
piegames ec7552ff74 libexpr/parser: Test experimental features
Currently, the parser relies on the global experimental feature flags.
In order to properly test conditional language features, we instead need
to pass it around in the parser::State.

This means that the parser cannot cache the result of isEnabled anymore,
which wouldn't necessarily hurt performance if the function didn't
perform a linear search on the list of enabled features on every single
call. While we could simply evaluate once at the start of parsing and
cache the result in the parser state, the more sustainable solution
would be to fix `isEnabled` such that all callers may profit from the
performance improvement.

Change-Id: Ic9b9c5d882b6270e1114988b63e6064d36c25cf2
2024-08-07 13:07:50 +00:00
..
libcmd util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libexpr libexpr/parser: Test experimental features 2024-08-07 13:07:50 +00:00
libexpr-support/tests libexpr/parser: Test experimental features 2024-08-07 13:07:50 +00:00
libmain tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
libstore libstore: remove WriteConn::sink fields 2024-07-16 00:57:42 +00:00
libstore-support/tests util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libutil libutil: add checked arithmetic tools 2024-07-13 00:56:37 +02:00
libutil-support/tests tree-wide: fix various lint warnings 2024-08-04 20:55:45 -07:00
meson.build tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00