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

Fix SI-4581. #1201

Merged
merged 1 commit into from
Sep 1, 2012
Merged

Fix SI-4581. #1201

merged 1 commit into from
Sep 1, 2012

Conversation

axel22
Copy link
Contributor

@axel22 axel22 commented Aug 27, 2012

Specifically, the final flag on the generated static field
is no longer ommitted.

Fix 2 failing test-cases.

Empty check file t4581.check is there until we fix https://issues.scala-lang.org/browse/SI-6289.

Review by @paulp.

Specifically, the final flag on the generated static field
is no longer ommitted.

Fix 2 failing test-cases.
@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/289/

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/998/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/289/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/998/

@jsuereth
Copy link
Contributor

Ping @paulp

@@ -768,7 +773,8 @@ abstract class CleanUp extends Transform with ast.TreeDSL {
staticSym <- clazz.info.decls
if staticSym.hasStaticAnnotation
} staticSym match {
case stfieldSym if stfieldSym.isVariable =>
case stfieldSym if (stfieldSym.isValue && !stfieldSym.isMethod) || stfieldSym.isVariable =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are (very recently) methods such that this logic could be if x.isVal || x.isVar.

@paulp
Copy link
Contributor

paulp commented Sep 1, 2012

Looks OK to me.

jsuereth added a commit that referenced this pull request Sep 1, 2012
@jsuereth jsuereth merged commit f275cff into scala:2.10.x Sep 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants