Navigation
Name
Errors
/
Static
/
RedeclaredVariable
Synopsis
A variable with the same name has been declared in the same scope.
Description
Remedy: rename one of the variables.
Examples
rascal>
int n = 3; int: 3
rascal>
int n = 4; |stdin:///|(4,5,<1,4>,<1,9>): Redeclared variable: n
[
Edit
] | [
New Subconcept
] | [
Recompile Course
] | [
Warnings
]
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit
ask.rascal-mpl.org
.