Before val to var conversion applied, smart-cast can cause dropping not-null assertion, which will be required when val will become var