berry
berry copied to clipboard
stricter mode
Make strict mode even stricter and forbid declaring a local variable with the same name as a builtin. A common mistake was to call a local variable size and hide the builtin
> def f() var size = 1 end
syntax_error: stdin:1: strict: redefinition of builtin 'size'