报错:
1:"=' expected, but '{'found... :14
2: None of the overloaded alternatives of constructor Customer in class Customer with types..:22
代码:
def this(id: Int, name: String, gender: Char, age: Short, tel: String, email: String) {
this
this.id = id
this.name = name
this.gender = gender
this.age = age
this.tel = tel
this.email = email
}
报错的是构造器里边的俩个'{}' 我觉得没啥毛病 但报错了🥹