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

Repl javap conveniences #6980

Open
scabug opened this issue Jan 16, 2013 · 2 comments
Open

Repl javap conveniences #6980

scabug opened this issue Jan 16, 2013 · 2 comments

Comments

@scabug
Copy link

scabug commented Jan 16, 2013

scala> :javap Predef#genericArrayOps

should mean

:javap scala.Predef$#genericArrayOps{code}

by respecting imports in scope and ignoring forwarders.

@scabug
Copy link
Author

scabug commented Jan 16, 2013

Imported From: https://issues.scala-lang.org/browse/SI-6980?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.0-M1
See #7488, #8898, #9277

@scabug
Copy link
Author

scabug commented Jan 19, 2013

@som-snytt said (edited on Mar 1, 2017 10:51:44 PM UTC):
While you're mapping user strings to symbols, don't forget to improve:

$ scala
Welcome to Scala version 2.10.0 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_06).
Type in expressions to have them evaluated.
Type :help for more information.

scala> def m = 8
m: Int

scala> class m
defined class m
warning: previously defined method m is not a companion to class m.
Companions must be defined together; you may wish to use :paste mode for this.

Edit: it improved.

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