We have a function defined as $f:[a,b]\to\Bbb R$ such that
$$f(x)=\begin{cases}2,&\text{if } x\in(a,b]\\1,&\text{if }x=a\end{cases}$$ with $a<b$.
Notice that because the function is defined in a closed interval the limit
$$f'(a)=\lim_{x\underset{>}{\to} a}\frac{f(x)-f(a)}{x-a}=+\infty$$
exists because it is defined only from the right side. So, why can't we conclude that differentiability does not imply continuity?
P.S.: what a dumb... infinity is not a point of $\Bbb R$ so $f'(a)=\infty$ is not on the range of the derivative.