Skip to content

go.text/language: no longer compiles in Go 1.1 #6523

Closed
@gopherbot

Description

@gopherbot

by Jens.Alfke:

The package "code.google.com/p/go.text/language" no longer compiles in Go 1.1,
because it uses the identifier sort.Stable that was added in Go 1.2.

This breaks any software that imports that package, which needs to build in Go 1.1.
For the real-life example that triggered this bug report, see
https://travis-ci.org/couchbaselabs/walrus/builds/12025979

STEPS TO REPRODUCE
1. Install Go 1.1.2
2. go get -u code.google.com/p/go.text/language

RESULT
code.google.com/p/go.text/language/parse.go:598: undefined: sort.Stable

EXPECTED RESULT
Successful installation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions