Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ precedence. To refer to the member of the dispatch receiver, you can use the [qu
```kotlin
class Connection {
fun Host.getConnectionString() {
toString() // вызывает D.toString()
[email protected]() // вызывает C.toString()
toString() // вызывает Host.toString()
[email protected]() // вызывает Connection.toString()
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ val result = double(2)
Для вызова вложенной функции используется знак точки.

```kotlin
Stream().read() //создаёт экземпляр класса Sample и вызывает read()
Stream().read() //создаёт экземпляр класса Stream и вызывает read()
```

<a name="parameters"></a>
Expand Down