summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchuyler Eldridge2019-07-24 16:08:33 -0400
committerSchuyler Eldridge2019-07-24 16:08:33 -0400
commit59d6ab518368c64c956a71a608476cf9330c49fc (patch)
tree783017125bd6ea7e1516cf5cb372363e6cca328f
parentaaf963f95bf1f4e9f3e5a8225925b4df7d01e795 (diff)
Fix Num.+ Scaladoc
Change Num.+ Scaladoc to state that this is not a growing addition. Note that this is problematic either way as this macro is resolved to an abstract method. Classes implementing this typeclass are technically free to violate what we put in the Scaladoc here. h/t @kammoh Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
-rw-r--r--chiselFrontend/src/main/scala/chisel3/Bits.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/Bits.scala b/chiselFrontend/src/main/scala/chisel3/Bits.scala
index 2a8e8d1e..7462708c 100644
--- a/chiselFrontend/src/main/scala/chisel3/Bits.scala
+++ b/chiselFrontend/src/main/scala/chisel3/Bits.scala
@@ -492,7 +492,7 @@ abstract trait Num[T <: Data] {
*
* @param that a $numType
* @return the sum of this $coll and `that`
- * $maxWidthPlusOne
+ * $maxWidth
* @group Arithmetic
*/
final def + (that: T): T = macro SourceInfoTransform.thatArg