add_types: only re-enable double-write check if it was previously enabled
Otherwise you can't generate certain boundary kernels that contain conditionals.
Otherwise you can't generate certain boundary kernels that contain conditionals.
merged
mentioned in commit 09de00cf