Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Specialized class should not have duplicate fields #3585
Apparently for specialized classes fields are emitted both in the parent "generic" class and in the specialized class.
I think that instead the generic class should be abstract without fields, and there should be an additional "Object" specialization, so that fields are not duplicated.
Imported From: https://issues.scala-lang.org/browse/SI-3585?orig=1