rspec/rules/S1134/kotlin/non-compliant-example.adoc
Cristian Ambrosini aaa468bf3a
Modify rule S1134: Update to LaYC (#2189)
I removed abap, flex, pli and rpg dummy implementations since they're
not implemented in the corresponding analyzer and there are no tickets
open to do so.
2023-06-14 14:23:44 +02:00

5 lines
140 B
Plaintext

[source,kotlin]
----
// FIXME denominator value might be 0
fun divide(numerator: Int, denominator: Int): Int = numerator / denominator
----