FIR: add test with minOf ambiguity

This commit is contained in:
Mikhail Glukhikh
2021-08-03 11:36:58 +03:00
committed by teamcityserver
parent ee0b64cb29
commit e924ee3150
5 changed files with 64 additions and 0 deletions
@@ -0,0 +1,7 @@
interface DailyAggregatedDoubleFactor
private fun DailyAggregatedDoubleFactor.aggregateBy(reduce: (Double, Double) -> Double): Map<String, Double> {
return mutableMapOf<String, Double>()
}
fun DailyAggregatedDoubleFactor.aggregateMin(): Map<String, Double> = aggregateBy(::<!OVERLOAD_RESOLUTION_AMBIGUITY!>minOf<!>)