Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Conversation

soc
Copy link

@soc soc commented Mar 9, 2011

I made the changes produced by the discussion:

  • undeprecate MinValue
  • remove MinNegativeValue
  • retain MinPositiveValue
  • deprecation of Epsilon.
  • Add Scaladoc to Double/Float MinValue to highlight that they are different from the same named constants in Java.

ScalaDoc could need some attention by a native English-speaker regarding the wording, but the text should describe the values correctly.

@scala scala closed this Apr 6, 2011
pedrofurla pushed a commit to pedrofurla/scala that referenced this pull request Apr 23, 2011
…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
adriaanm pushed a commit to TiarkRompf/scala-virtualized that referenced this pull request Oct 6, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants