Scope functions

Good overview about scopes and scope functions

Shadowing and Implicit Receivers

  1. When using this, it will only refer to the exact implicit receiver in that scope.

  2. When omitting this, the effective receiver is a combination of the implicit receivers, from the innermost to the outermost scope.

Last updated

Was this helpful?