Skip to content

Commit 8f000bf

Browse files
author
Oron Port
committed
add missing inline in <> operator
1 parent f2ffa35 commit 8f000bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/scala/dfhdl/core/DFVal.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,14 +1242,14 @@ object DFVal extends DFValLP:
12421242
// TODO: possibly use match on lhs and rhs together fixing scalac issue
12431243
// https://github.com/scala/scala3/issues/24076
12441244
inline lhs match
1245-
case lhs: DFValAny => rhs match
1245+
case lhs: DFValAny => inline rhs match
12461246
// if both LHS and RHS are DFVals, we call `specialConnect` to handle possible
12471247
// connection in either direction where both implicit directions are available
1248-
case rhs: DFValAny => ConnectOps.specialConnect(lhs, rhs)
1248+
// case rhs: DFValAny => ConnectOps.specialConnect(lhs, rhs)
12491249
// otherwise, we invoke the implicit given operation in both directions by turning
12501250
// on the bothWays flag for all other cases
1251-
case _ => exactOp2["<>", DFC, Any](lhs, rhs, bothWays = true)
1252-
case _ => rhs match
1251+
case _ => exactOp2["<>", DFC, Any](lhs, rhs)
1252+
case _ => inline rhs match
12531253
// if the RHS is a modifier, this is a port/variable constructor,
12541254
// so we invoke the the implicit given operation only in one way
12551255
case _: ModifierAny => exactOp2["<>", DFC, Any](lhs, rhs)

0 commit comments

Comments
 (0)