7 lines
86 B
Scala
7 lines
86 B
Scala
|
object ParamAndLocal {
|
||
|
def foo(i: Int): Int = {
|
||
|
val i: Int = i + 1;
|
||
|
i
|
||
|
}
|
||
|
}
|