Skip to content

Commit

Permalink
variable redeclaration suggestion also shown for "conflicting ..."
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulaScharf committed Nov 13, 2024
1 parent 6c267b2 commit 653d400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CodeEditor/ErrorView.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const ErrorView = ({ error }) => {
"'display' was not declared in this scope":
Blockly.Msg.display_not_declared,
"redefinition of": Blockly.Msg.variable_redeclared,
"conflicting declaration": Blockly.Msg.variable_redeclared,
};

const getSuggestion = (process) => {
Expand Down

0 comments on commit 653d400

Please sign in to comment.