Skip to content

Commit cf5eda8

Browse files
ning-yremo5000
authored andcommitted
Reword explain/0 of VariableRedeclaration error (#26)
1 parent 88e20e3 commit cf5eda8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interpreter-errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class VariableRedeclaration implements SourceError {
141141
}
142142

143143
public explain() {
144-
return `Redeclaring variable ${this.name}`
144+
return `Redeclaring name ${this.name}`
145145
}
146146

147147
public elaborate() {

0 commit comments

Comments
 (0)