Name |
Last commit
|
Last update |
---|---|---|
.. | ||
gofrontend | ||
ChangeLog | ||
Make-lang.in | ||
README.gcc | ||
config-lang.in | ||
gccgo.texi | ||
go-backend.c | ||
go-c.h | ||
go-gcc.cc | ||
go-lang.c | ||
go-linemap.cc | ||
go-location.h | ||
go-system.h | ||
gospec.c | ||
lang-specs.h | ||
lang.opt |
For expressions containing a TypeSwitchGuard with a short variable declaration e.g. var := x.(type), the spec says that var is declared at the beginning of the implicit block for each in each clause. Previously, var was declared in the block for the switch statement and each implicit block, which led to errors if the type case clause referenced a type with a similar name as the declared variable. Fixes golang/go#10047. From-SVN: r221230
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
gofrontend | Loading commit data... | |
ChangeLog | Loading commit data... | |
Make-lang.in | Loading commit data... | |
README.gcc | Loading commit data... | |
config-lang.in | Loading commit data... | |
gccgo.texi | Loading commit data... | |
go-backend.c | Loading commit data... | |
go-c.h | Loading commit data... | |
go-gcc.cc | Loading commit data... | |
go-lang.c | Loading commit data... | |
go-linemap.cc | Loading commit data... | |
go-location.h | Loading commit data... | |
go-system.h | Loading commit data... | |
gospec.c | Loading commit data... | |
lang-specs.h | Loading commit data... | |
lang.opt | Loading commit data... |