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

SI-8875 showCode should print all class constructor modifiers. #4045

Merged
merged 1 commit into from Nov 4, 2014

Conversation

gourlaysama
Copy link
Member

showCode used to print nothing when the only modifier was a change in
visibility scope (i.e. no flags but privateWithin is set).

@scala-jenkins scala-jenkins added this to the 2.11.4 milestone Oct 10, 2014
@gourlaysama
Copy link
Member Author

PLS REBUILD ALL

@scala-jenkins
Copy link

(kitty-note-to-self: ignore 58636343)
🐱 Roger! Rebuilding pr-scala for 037f295. 🚨

@dragos
Copy link
Contributor

dragos commented Oct 10, 2014

PLS REBUILD/pr-scala@037f295

@scala-jenkins
Copy link

(kitty-note-to-self: ignore 58663584)
🐱 Roger! Rebuilding pr-scala for 037f295. 🚨

@dragos
Copy link
Contributor

dragos commented Oct 11, 2014

PLS REBUILD/pr-scala@037f295

@scala-jenkins
Copy link

(kitty-note-to-self: ignore 58740406)
🐱 Roger! Rebuilding pr-scala for 037f295. 🚨

@dragos
Copy link
Contributor

dragos commented Oct 13, 2014

PLS REBUILD/pr-scala@ee5a5d1

@scala-jenkins
Copy link

(kitty-note-to-self: ignore 58883103)
🐱 Roger! Rebuilding pr-scala for ee5a5d1. 🚨

@lrytz lrytz modified the milestones: 2.11.4, 2.11.5 Oct 14, 2014
@gourlaysama
Copy link
Member Author

PLS REBUILD ALL

@@ -761,7 +761,7 @@ trait Printers extends api.Printers { self: SymbolTable =>
val build.SyntacticClassDef(_, _, _, ctorMods, vparamss, earlyDefs, parents, selfType, body) = cl

// constructor's modifier
if (ctorMods.hasFlag(AccessFlags)) {
if (ctorMods.hasFlag(AccessFlags) || ctorMods.privateWithin != tpnme.EMPTY) {
Copy link
Member

Choose a reason for hiding this comment

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

ctorMods.hasAccessBoundary is a higher level way of saying the same thing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I missed that one. Fixed.

@retronym retronym self-assigned this Oct 24, 2014
showCode used to print nothing when the only modifier was a change in
visibility scope (i.e. no flags but privateWithin is set).
@adriaanm
Copy link
Contributor

Triggering rebuild now that IDE validation should be fixed. Sorry about all the noise.

@scala-jenkins
Copy link

(kitty-note-to-self: ignore 59266442)
🐱 Roger! Rebuilding pr-scala for f8d1a9f. 🚨

@retronym
Copy link
Member

retronym commented Nov 4, 2014

LGTM

retronym added a commit that referenced this pull request Nov 4, 2014
SI-8875 showCode should print all class constructor modifiers.
@retronym retronym merged commit f6ddb82 into scala:2.11.x Nov 4, 2014
@gourlaysama gourlaysama deleted the wip/t8875-show-code branch November 12, 2014 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants