Skip to content

Commit a42b009

Browse files
allanrenuccicheeseng
authored andcommitted
Workaround ambiguous implicits
`Boolean` and `=> Boolean`
1 parent e58a3a1 commit a42b009

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

project/GenGen.scala

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
721721
case e: DiscardedEvaluationException => (true, None)
722722
case e: Throwable => (false, Some(e))
723723
}
724-
!unmetCondition ==> (
724+
propBoolean(!unmetCondition) ==> (
725725
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
726726
)
727727
}
@@ -766,7 +766,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
766766
case e: DiscardedEvaluationException => (true, None)
767767
case e: Throwable => (false, Some(e))
768768
}
769-
!unmetCondition ==> (
769+
propBoolean(!unmetCondition) ==> (
770770
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
771771
)
772772
}
@@ -812,7 +812,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
812812
case e: DiscardedEvaluationException => (true, None)
813813
case e: Throwable => (false, Some(e))
814814
}
815-
!unmetCondition ==> (
815+
propBoolean(!unmetCondition) ==> (
816816
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
817817
)
818818
}
@@ -859,7 +859,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
859859
case e: DiscardedEvaluationException => (true, None)
860860
case e: Throwable => (false, Some(e))
861861
}
862-
!unmetCondition ==> (
862+
propBoolean(!unmetCondition) ==> (
863863
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
864864
)
865865
}
@@ -907,7 +907,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
907907
case e: DiscardedEvaluationException => (true, None)
908908
case e: Throwable => (false, Some(e))
909909
}
910-
!unmetCondition ==> (
910+
propBoolean(!unmetCondition) ==> (
911911
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
912912
)
913913
}
@@ -956,7 +956,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
956956
case e: DiscardedEvaluationException => (true, None)
957957
case e: Throwable => (false, Some(e))
958958
}
959-
!unmetCondition ==> (
959+
propBoolean(!unmetCondition) ==> (
960960
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
961961
)
962962
}
@@ -1002,7 +1002,7 @@ $arbShrinks$,
10021002
case e: DiscardedEvaluationException => (true, None)
10031003
case e: Throwable => (false, Some(e))
10041004
}
1005-
!unmetCondition ==> (
1005+
propBoolean(!unmetCondition) ==> (
10061006
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
10071007
)
10081008
}
@@ -1045,7 +1045,7 @@ $arbShrinks$,
10451045
case e: DiscardedEvaluationException => (true, None)
10461046
case e: Throwable => (false, Some(e))
10471047
}
1048-
!unmetCondition ==> (
1048+
propBoolean(!unmetCondition) ==> (
10491049
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
10501050
)
10511051
}
@@ -1095,7 +1095,7 @@ $shrinks$,
10951095
case e: DiscardedEvaluationException => (true, None)
10961096
case e: Throwable => (false, Some(e))
10971097
}
1098-
!unmetCondition ==> (
1098+
propBoolean(!unmetCondition) ==> (
10991099
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
11001100
)
11011101
}
@@ -1148,7 +1148,7 @@ $tupleBusters$
11481148
case e: DiscardedEvaluationException => (true, None)
11491149
case e: Throwable => (false, Some(e))
11501150
}
1151-
!unmetCondition ==> (
1151+
propBoolean(!unmetCondition) ==> (
11521152
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
11531153
)
11541154
}

0 commit comments

Comments
 (0)