jordan_k_miles
06/14/2017, 2:59 PMfun Shop.getCitiesCustomersAreFrom(): Set<City> =
this.customers.map{ it.city }.toSet()
work but
fun Shop.getCitiesCustomersAreFrom(): Set<City> =
this.customers.map{ customer.city }.toSet()
gives me the error:
``No value passed for parameter name``