KT-4735: Exception from type checker prevents copy/paste

 #KT-4735 Fixed
Buildserver auto merge