Function declared two times. Bug

function func() {
    return 1;
}

function func() {
    return 2;
}

dump( func() );

Lucee 5.3.10.120 / 6.0.0.445-SNAPSHOT fires the second one.

ACF 2021 raises an error:
Routines cannot be declared more than once.

see [LDEV-1050] - Lucee

1 Like