KT-3159 Disallow overriding var with different type #KT-3159 fixed