We construct a separately continuous function
$e:E\times K\rightarrow \{0,1\}$
on the product of a Baire space
$E$
and a compact space
$K$
such that no restriction of
$e$
to any non-meagre Borel set in
$E\times K$
is continuous. The function
$e$
has no points of joint continuity, and, hence, it provides a negative solution of Talagrand’s problem in Talagrand [Espaces de Baire et espaces de Namioka, Math. Ann.270 (1985), 159–164].