Aditya Sood 9ba0fd08de
Minor addition to if-else text on declarations (#450)
* Minor addition to if-else text on declarations

Extremely minor addition to if-else text on declarations preceding conditionals, by explicitly clarifying that variables declared are only available in branches succeeding the declaration, not all the branches in the if-else ladder (i.e. preceding branches will not have it in their scope)

This edit might be redundant since variables in Golang can only be used after declaration, but to a complete novice the original wording of "...any variables declared in this statement are available in *all* branches..." might be a little misleading and appear to say that the variable is in-scope for the preceding branches as well (as this seems to be a very Golang-specific semantic that other high-level languages like C/C++, Java, Scala, Kotlin etc don't support; and so it will be a brand new paradigm for developers coming from such languages).

Thanks!

* Increment: Include changes in source .go file for #450
2022-10-25 06:00:36 -07:00
..
2022-09-08 05:37:20 -07:00
2019-09-01 16:09:36 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2016-01-01 13:55:45 -08:00
for
2022-06-06 11:31:46 -07:00
2022-07-11 05:42:26 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2013-10-06 09:03:31 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2019-09-01 16:09:36 -07:00
2022-09-08 05:37:20 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
2022-06-06 11:31:46 -07:00
xml
2022-06-27 20:48:50 -07:00