Skip to content

Commit 64febee

Browse files
committed
Add missing return type to unary_~
1 parent 38c0130 commit 64febee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala-3/chisel3/Bits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ sealed class UInt private[chisel3] (width: Width) extends Bits(width) with UIntI
305305

306306
def abs: UInt = _absImpl
307307

308-
override def unary_~(implicit sourceInfo: SourceInfo) = _impl_unary_~
308+
override def unary_~(implicit sourceInfo: SourceInfo): UInt = _impl_unary_~
309309

310310
// REVIEW TODO: Can these be defined on Bits?
311311
/** Or reduction operator

0 commit comments

Comments
 (0)