Scala Programming Language
  1. Scala Programming Language
  2. SI-7859

Rethink "value class parameter must be public" restriction

    Details

      Description

      We allow the constructor to be declared private; we use `makeNotPrivate` to make it bytecode public and amendable to the peephole optimizations in posterasure.

      Why not allow the same for the accessor?

        Activity

        Show
        Jason Zaugg added a comment - https://github.com/scala/scala/pull/2965

          People

          • Assignee:
            Jason Zaugg
            Reporter:
            Jason Zaugg
          • Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development