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

2.10 regression: BooleanBeanProperty no longer generates setFoo() style setter

    Details

      Description

      % cat S.scala       
      class S { @reflect.BooleanBeanProperty var foo = false }
      % scalac29 S.scala
      % javap -classpath . S
      Compiled from "S.scala"
      public class S extends java.lang.Object implements scala.ScalaObject{
          public boolean foo();
          public void foo_$eq(boolean);
          public void setFoo(boolean);
          public boolean isFoo();
          public S();
      }
      % ~/scala/dists/latest/bin/scala -version
      Scala code runner version 2.10.0-20120418-055837-adf53b66f7 -- Copyright 2002-2011, LAMP/EPFL
      % ~/scala/dists/latest/bin/scalac S.scala
      % javap -classpath . S                   
      Compiled from "S.scala"
      public class S extends java.lang.Object{
          public boolean foo();
          public void foo_$eq(boolean);
          public boolean isFoo();
          public S();
      }
      

      hey where'd my setFoo go? it was there a version ago...

        Activity

        Show
        Lukas Rytz added a comment - https://github.com/scala/scala/pull/461
        Hide
        Seth Tisue added a comment -

        thanks Lukas!

        Show
        Seth Tisue added a comment - thanks Lukas!

          People

          • Assignee:
            Lukas Rytz
            Reporter:
            Seth Tisue
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development