On Tue, Jun 11, 2019 at 6:40 AM Ian Lance Taylor <i...@golang.org> wrote: > > On Mon, Jun 10, 2019 at 10:51 PM Dan Kortschak <d...@kortschak.io> wrote: > > > > The semantics of the directive are not defined, and there are comments > > like this[1] that would introduce breakage for people who target more > > than one version of Go. > > Yes. A good reason to not do that. We don't do it today, and there > are no plans to do it. > > > > Which version do we choose to write? Gonum support latest and two > > previous versions. We have had to write go 1.10 into that line so that > > the tests against master don't fail, but this is another line that we > > have to edit we we adjust versions for testing. When it becomes > > important, I'd be happy to write it down, but the absence of any > > semantic definition, it's just another line of text that has an > > expected syntax, but no other apparent value. > > Why do you think you would ever have to change the value go1.10?
That was perhaps a bit terse. Let me add: the clearest description of the use of the go directive is at https://github.com/golang/proposal/blob/master/design/28221-go2-transitions.md . Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWoaZkRFvLAUpyMaAo-L5TfZRmOR%3DfEo-U3cEHQ3qNPtg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.