code: def test_nested_binary_literal_super_type_12227() -> None:
      # The `.alias` is important here to trigger the bug.
      assert (
          pl.select(x=1)
          .select((pl.lit(0) + ((pl.col("x") > 0) * 0.1)).alias("x"))
          .item()
          == 0.1
      )
      assert (
          pl.select(
              (pl.lit(0) + (pl.lit(0) == pl.lit(0)) * pl.lit(0.1))
              + pl.lit(0)
          ).item()
          == 0.1
      )
  
imports: from __future__ import annotations
  from collections import OrderedDict
  from datetime import date, timedelta
  from typing import Any, Iterator, Mapping
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 38 for calling a global function with example usage: test_nested_binary_literal_super_type_12227() without return types