Permalink
Browse files

gofix.

  • Loading branch information...
1 parent 21d9300 commit 045ae2fd1b1753a2cc83151e518f7ee98b666f74 @mattn committed Nov 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 gopl.go
View
4 gopl.go
@@ -20,12 +20,12 @@ func main() {
}
code, err := world.Compile(fset, line+";")
if err != nil {
- fmt.Fprintln(os.Stderr, err.String())
+ fmt.Fprintln(os.Stderr, err)
continue
}
ret, err := code.Run()
if err != nil {
- fmt.Fprintln(os.Stderr, err.String())
+ fmt.Fprintln(os.Stderr, err)
continue
}
if ret != nil {

0 comments on commit 045ae2f

Please sign in to comment.