edrd
04/16/2021, 3:37 PMSequence
were annotated with @Terminal
or something like that to allow easier creation of automated checks for expressions that don't do anything because the developer forgot to call a terminal operation. Me and my team just spent ~2 hours trying to figure out why our code wasn't working after replacing a forEach
call with map
. A detekt rule / IntelliJ inspection would help a lot in this case.araqnid
04/16/2021, 4:23 PMedrd
04/16/2021, 5:44 PMedrd
04/16/2021, 5:44 PMJavier
04/16/2021, 5:58 PMlouiscad
04/16/2021, 7:45 PMelizarov
04/26/2021, 12:22 PM