aboutsummaryrefslogtreecommitdiff
path: root/project/plugins.sbt
diff options
context:
space:
mode:
authorSébastien Doeraene <sjrdoeraene@gmail.com>2016-02-27 18:39:40 +0100
committerSébastien Doeraene <sjrdoeraene@gmail.com>2016-03-01 15:47:56 +0100
commit0ebf36b394b00f3f432d8fdedeaa15e7d4df2b06 (patch)
tree14938c97bc207b86aa175edbc0c3e4d151c8ecbf /project/plugins.sbt
parentb347d2725d1a4e5f66d798be79d3fc3f0f44ea88 (diff)
downloaddotty-0ebf36b394b00f3f432d8fdedeaa15e7d4df2b06.tar.gz
dotty-0ebf36b394b00f3f432d8fdedeaa15e7d4df2b06.tar.bz2
dotty-0ebf36b394b00f3f432d8fdedeaa15e7d4df2b06.zip
Mark concrete vals mixed in from Scala2 traits as mutable.
When a concrete val is mixed in from a Scala2 trait, a setter is generated, which is called by the `$init$` method. Since the assignment in this setter is not done in the constructor, it is nonsensical for the field to be immutable. This commit sets the Mutable flag on such fields. It only applies for vals coming from Scala2 traits. vals coming from Dotty traits are kept immutable.
Diffstat (limited to 'project/plugins.sbt')
0 files changed, 0 insertions, 0 deletions