For some reason version(assert) does not avoid the compiler error