Uploaded image for project: '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...

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: