Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-3585

Specialized class should not have duplicate fields

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Specialization
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ureche Vlad Ureche
              Reporter:
              lb Luca Barbieri
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: