mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
fba7be80eb
switch statements must now match all enum values or disable the warning. Explicit is good. This has helped us find two bugs, after solving another one by debugging. From now on, adding to an enum will raise errors where they are not explicitly handled, which is good for productivity, and helps us decide the correct behavior in all usages. Notably still excluded from this though are the cases where the warning is disabled by local pragmas. fromTOML.cc did not build despite a top-level pragma, so I've had to resort to a makefile solution for that. |
||
---|---|---|
.. | ||
clean.mk | ||
common-test.sh | ||
debug-test.sh | ||
disable-tests.mk | ||
functions.mk | ||
install.mk | ||
lib.mk | ||
libraries.mk | ||
patterns.mk | ||
precompiled-headers.mk | ||
programs.mk | ||
run-test.sh | ||
templates.mk | ||
tests.mk | ||
tracing.mk |