piegames
ec7552ff74
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:
|
||
---|---|---|
.. | ||
value | ||
derived-path.cc | ||
error_traces.cc | ||
expr-print.cc | ||
flakeref.cc | ||
json.cc | ||
primops.cc | ||
search-path.cc | ||
trivial.cc |