From 89c74edf6604a99d603155e3ebd4f6e80eb2fa20 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 15 Jul 2013 18:01:31 -0400 Subject: [PATCH] go.crypto/ssh/terminal: support Go 1.0. For those still stuck on Go 1.0. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11297043 --- terminal.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terminal.go b/terminal.go index f83be8c..411b1f1 100644 --- a/terminal.go +++ b/terminal.go @@ -568,6 +568,8 @@ func (t *Terminal) readLine() (line string, err error) { t.remainder = t.inBuf[:n+len(t.remainder)] } + + panic("unreachable") // for Go 1.0. } // SetPrompt sets the prompt to be used when reading subsequent lines.