-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
There is probably a compiler error in this situation:
class Parent {
var description: String { "Some description" }
}
@Inscribe class Child: Parent {} // compiler errorAllow an (override: true) parameter:
class Parent {
var description: String { "Some description" }
}
@Inscribe(override: true) class Child: Parent {}
// expands to:
class Child: Parent {}
extension Child {
override var description: String { "Child" }
override static var description: String { "Child" }
Metadata
Metadata
Assignees
Labels
No labels