Language:
Русский
English
┌──────────────────────────────────────────┐
│ No inherited methods are accessible here │
└──────────────────────────────────────────┘
You are using the inherited keyword outside a method or in a method of an object type that has no ancestor.