Issue in the Intro Go module


As displayed above, the commented lines still result in output to the terminal. Does this issue happen for other users? This is in the intro to go lesson, on the exercise for comments.

does run re-complie the program? maybe you need re-compile/build the executable? seems the old one still runs

Did you remember to click the Save/Run button at the bottom of the code editor before re-entering go run ... into the terminal?

If not, it’s not saved your code - so the terminal is correctly re-running your old program. :slight_smile:

Maybe rebuild the project?

go build main.go

go run main.go