wolfe-pack / wolfe

Wolfe Language and Engine
https://wolfe-pack.github.io/wolfe
Apache License 2.0
135 stars 17 forks source link

Case classes can't have field called "name" #142

Closed riedelcastro closed 9 years ago

riedelcastro commented 9 years ago
:31: error: overriding value name in class BaseVar of type String;
 value name needs `override' modifier
              @ml.wolfe.term.domain case class Person(age:Int, name:String)

due to variables having a name field as well.