idea plugin now shows errors that prevent syntax highlighting and show cached syntax coloring remembered from the last successive pass

This commit is contained in:
sergeych committed 2025-12-02 03:29:14 +01:00
1 parent 067970b80c
commit fbea13570e
5 files changed
+134 -15

No files matched your search

@@ -124,7 +124,7 @@ fun Iterable.sumOf(f) {
}
fun Iterable.minOf( lambda ) {
val i = iterator()
val i = iterator()
var minimum = lambda( i.next() )
while( i.hasNext() ) {
val x = lambda(i.next())
@@ -133,6 +133,9 @@ val i = iterator()
minimum
}
/*
Return maximum value of the given function applied to elements of the collection.
*/
fun Iterable.maxOf( lambda ) {
val i = iterator()
var maximum = lambda( i.next() )