Apache Groovy: A powerful multi-faceted programming language for the JVM platform
programming-language
groovy
compiler
functional-programming
dynamic-typing
metaprogramming
jvm-languages
static-typing
-
Updated
Jul 20, 2021 - Java
The compiler should analyze the function body to detect statements that are completely unreachable because of return and throw statements that cause a function to exit.
Consider the following example:
In the above example, the print statement is never executed because
main()
is terminated before it can reach t