Fixes #3143 Avoid the warning about last within eval