Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
scabug opened this issue Apr 18, 2012 · 3 comments
Closed
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Apr 18, 2012

% 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...

@scabug
Copy link
Author

scabug commented Apr 18, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5682?orig=1
Reporter: @SethTisue
Affected Versions: 2.10.0

@scabug
Copy link
Author

scabug commented May 2, 2012

@lrytz said:
scala/scala#461

@scabug scabug closed this as completed May 2, 2012
@scabug
Copy link
Author

scabug commented May 2, 2012

@SethTisue said:
thanks Lukas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants