Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
James Hilliard
d7c24ccddd
Allow get_variable to still function when the fallback is a disabler.
5 years ago
James Hilliard
2b6c997e33
Return a disabler when an unknown method is called on a disabler object
5 years ago
Xavier Claessens
9855b2d3c5
Test disabler in foreach loops
...
The is_disabler() check in evaluate_foreach() was useless because we
already checked that items is a list.
5 years ago
Xavier Claessens
1930fc82e2
Fix `if not disabler()` case
...
Closes : #6010
5 years ago
James Hilliard
b21fd95f73
Add is_disabler function
...
This is useful if one needs to check if a variable is a disabler.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago