Scala

Scala

Made by DeepSource

Detected unreachable code SC-W1006

Bug risk
Major

Unreachable code is usually a result of programming error - usually when statements like 'return' are misplaced. This causes some part of the code to not execute at all, thus affecting the overall control-flow and behaviour of the program.