diff --git a/src/language/mixins.md b/src/language/mixins.md index 4a705296b9..2c2cf99093 100644 --- a/src/language/mixins.md +++ b/src/language/mixins.md @@ -60,9 +60,9 @@ mixin Musical { } ``` -Sometimes you might want to restrict the types that can use a mixin. -For example, the mixin might depend on being able to invoke a method -that the mixin doesn't define. +Sometimes the mixin might depend on being able to invoke a method or access fields +that the mixin doesn't define. To require classes that use the mixin to define these, +you can define getters in the mixin or restrict the types that can use a mixin. As the following example shows, you can restrict a mixin's use by using the `on` keyword to specify the required superclass: