-
Notifications
You must be signed in to change notification settings - Fork 58
Patch to fix #4477. #8
Conversation
…ally verfied version to the 318 occurences of @deprecated in src/library. Fixes #4477.
Hi retronym!
OK, I wasn't sure how the versioning would look like in the future. I'll fix that.
I will fix that. Is the default of
That was my concern, too. In that case I thought that the accuracy might be more important here, because it will mainly be used by documentation. Otherwise I would have to add something like |
I think you'd need some input from @extempore regarding those questions. |
BTW, the pull request process is easier if you work on a topic branch. You can then commit additional changes to the topic branch, and see them on the same pull request. It also makes it easier for you to work on multiple changes. |
@retronym: How would I do that with git? A simple git branch? |
Fork and Clone Fork the scala/scala to soc/scala Setup your remotes
Time passes Sync with scala/scala
Make a Topic Branch
Sync Topic Branch with Upstream Changes
|
Thanks! I guess I just bookmark your response :-) |
…ection so those hypothetical people who use non-sun jvms won't be thrown off kilter. You can give it a file argument or a class name, including classes you just defined in the repl, and it will clean up the repl mangling on the way out. scala> class Bippy { def hackenkraks(x: Float, y: Double) = 5 } defined class Bippy scala> :javap Bippy Compiled from "<console>" public class Bippy extends java.lang.Object implements scala.ScalaObject [...] public int hackenkraks(float, double); Signature: (FD)I Code: Stack=1, Locals=4, Args_size=3 0: iconst_5 1: ireturn scala> :javap scala.collection.Map public interface scala.collection.Map extends scala.collection.Iterable,scala.collection.MapLike,scala.ScalaObject [...] const scala#7 = Asciz ScalaSig; const scala#8 = Asciz <A:Ljava/lang/Object;B:Ljava/lang/Object;>Ljava/lang/Object;Lscala/collection/Iterable<Lscala/Tuple2<TA;TB;>;>;Lscala/collection/MapLike<TA;TB;Lscala/collection/Map<TA;TB;>;>;Lscala/ScalaObject;; const scala#9 = Asciz Lscala/reflect/ScalaSignature;; const scala#10 = Asciz bytes; const scala#11 = Asciz [line elided for control chars: possibly a scala signature] scala> :javap java.util.Enumeration Compiled from "Enumeration.java" public interface java.util.Enumeration [...] scala> :javap /scala/trunk/build/quick/classes/compiler/scala/tools/util/Javap.class Compiled from "Javap.scala" public class scala.tools.util.Javap extends java.lang.Object implements scala.ScalaObject [...] No review. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24167 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Added field "since" to annotation class deprecated and added the manually verified version to the 318 occurences of @deprecated in src/library. Fixes #4477.