yoo
06/30/2016, 2:36 PMfun String.lastChar(): Char = this[length - 1]
inside some class and try to use it in another class which is not inherited from class where extension function is declared
In previous example we could declare function lastChar and after that tried to use it inside fragment class