Commit bc5fdcd
committed
Fix CS0136 compile error: remove duplicate 'defaultValue' declaration in else branch
The outer 'if (node.Default != null)' block already declares 'defaultValue' on
line 449. The branch's new else-branch code was incorrectly redeclaring it, causing
CS0136: A local variable named 'defaultValue' is already defined in this scope.
Fix: remove the redundant declaration in the else branch and reuse the existing one.
https://claude.ai/code/session_01AkwUvu3XuCdj3D4axoX4UX1 parent cb36abe commit bc5fdcd
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
480 | 479 | | |
481 | 480 | | |
482 | 481 | | |
| |||
0 commit comments