Go patch committed: error on func declaration/definition

2018-02-12 Thread Ian Lance Taylor
Long long long ago Go permitted writing func F() in one file and writing func F() {} in another file. This was removed from the language, and that is now considered to be a multiple definition error. Gccgo never caught up to that, and it has been permitting this invalid code for some

Go patch committed: error on func declaration/definition

2018-02-12 Thread Ian Lance Taylor
Long long long ago Go permitted writing func F() in one file and writing func F() {} in another file. This was removed from the language, and that is now considered to be a multiple definition error. Gccgo never caught up to that, and it has been permitting this invalid code for some