Hi!
I am writing a tool to detect unreachable code in Go programs. I used your project to test it and found an issue here:
This if statement is never executed. This is because the only way to exit the loop above is through return statements.
I tried to remove this statement. Compiler showed that identSize variable became unused. So I removed it also. After that, I ran all the tests and none failed. Not sure if this could be an evidence of some bug in the behavior of the parser.
Hi!
I am writing a tool to detect unreachable code in Go programs. I used your project to test it and found an issue here:
ini/parser.go
Line 311 in 9c8236e
This
ifstatement is never executed. This is because the only way to exit the loop above is throughreturnstatements.I tried to remove this statement. Compiler showed that
identSizevariable became unused. So I removed it also. After that, I ran all the tests and none failed. Not sure if this could be an evidence of some bug in the behavior of the parser.