allow switch() on bool expressions