Fix 13096.

Fix [13096](https://issues.dlang.org/show_bug.cgi?id=13096)
This is not sufficient whtn `s2` is function, template, or overloaded alias.