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

-Xprint TreePrinter is not aware of mangled names and decodes them wrongly #5835

Open
scabug opened this issue May 25, 2012 · 1 comment
Open
Milestone

Comments

@scabug
Copy link

scabug commented May 25, 2012

This is obviously minor, and goes to name mangling improvement, but an $anonfun$bar$1 is printed as $anonfun|1 in -Xprint output.

The example was from #1386

def bar(g:(=>Any) => String, x:Int) = g(x)

Maybe TreePrinters can do a quick test for enmanglement, where the enmanglement is crosstalk between operators and ids.

Obviously, I still want my real bar operator to print correctly: $anonfun$|$1.

@scabug
Copy link
Author

scabug commented May 25, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5835?orig=1
Reporter: @som-snytt
Affected Versions: 2.10.0-M3
See #1386, #2806

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