I'm trying to create swift macros for initializers for inherited classes i should have the members of the super class for super.init() parameters. how to get super class member blocks?
@Init
class Car1 {
var test1: Int
var test2: Int?
}
@Init
class Car1: Car2 {
var test1: Int
var test2: Int?
}
It will throw an error because the memberblocks(the attributes) of the superclass is missing