Skip to content

Commit bba0363

Browse files
allanrenuccicheeseng
authored andcommitted
Workaround ambiguous implicits
`Boolean` and `=> Boolean`
1 parent 7dffe30 commit bba0363

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
@@ -719,7 +719,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
719719
case e: DiscardedEvaluationException => (true, None)
720720
case e: Throwable => (false, Some(e))
721721
}
722-
!unmetCondition ==> (
722+
propBoolean(!unmetCondition) ==> (
723723
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
724724
)
725725
}
@@ -764,7 +764,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
764764
case e: DiscardedEvaluationException => (true, None)
765765
case e: Throwable => (false, Some(e))
766766
}
767-
!unmetCondition ==> (
767+
propBoolean(!unmetCondition) ==> (
768768
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
769769
)
770770
}
@@ -810,7 +810,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
810810
case e: DiscardedEvaluationException => (true, None)
811811
case e: Throwable => (false, Some(e))
812812
}
813-
!unmetCondition ==> (
813+
propBoolean(!unmetCondition) ==> (
814814
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
815815
)
816816
}
@@ -857,7 +857,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
857857
case e: DiscardedEvaluationException => (true, None)
858858
case e: Throwable => (false, Some(e))
859859
}
860-
!unmetCondition ==> (
860+
propBoolean(!unmetCondition) ==> (
861861
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
862862
)
863863
}
@@ -905,7 +905,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
905905
case e: DiscardedEvaluationException => (true, None)
906906
case e: Throwable => (false, Some(e))
907907
}
908-
!unmetCondition ==> (
908+
propBoolean(!unmetCondition) ==> (
909909
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
910910
)
911911
}
@@ -954,7 +954,7 @@ trait GeneratorDrivenPropertyChecks extends Whenever with Configuration {
954954
case e: DiscardedEvaluationException => (true, None)
955955
case e: Throwable => (false, Some(e))
956956
}
957-
!unmetCondition ==> (
957+
propBoolean(!unmetCondition) ==> (
958958
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
959959
)
960960
}
@@ -1000,7 +1000,7 @@ $arbShrinks$,
10001000
case e: DiscardedEvaluationException => (true, None)
10011001
case e: Throwable => (false, Some(e))
10021002
}
1003-
!unmetCondition ==> (
1003+
propBoolean(!unmetCondition) ==> (
10041004
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
10051005
)
10061006
}
@@ -1043,7 +1043,7 @@ $arbShrinks$,
10431043
case e: DiscardedEvaluationException => (true, None)
10441044
case e: Throwable => (false, Some(e))
10451045
}
1046-
!unmetCondition ==> (
1046+
propBoolean(!unmetCondition) ==> (
10471047
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
10481048
)
10491049
}
@@ -1093,7 +1093,7 @@ $shrinks$,
10931093
case e: DiscardedEvaluationException => (true, None)
10941094
case e: Throwable => (false, Some(e))
10951095
}
1096-
!unmetCondition ==> (
1096+
propBoolean(!unmetCondition) ==> (
10971097
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
10981098
)
10991099
}
@@ -1146,7 +1146,7 @@ $tupleBusters$
11461146
case e: DiscardedEvaluationException => (true, None)
11471147
case e: Throwable => (false, Some(e))
11481148
}
1149-
!unmetCondition ==> (
1149+
propBoolean(!unmetCondition) ==> (
11501150
if (exception.isEmpty) Prop.passed else Prop.exception(exception.get)
11511151
)
11521152
}

0 commit comments

Comments
 (0)