bad compilation w/ conditional let optimization