commit | de7b370901c4fc6852eaa7372282bb699429ec4a | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Sun Sep 03 19:40:16 2017 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Fri Sep 15 21:07:01 2017 +0000 |
tree | 3b1f913905a22af20853e6fe7a7fcb8c5bb99904 | |
parent | 2991f7ff3a26ef85029e39316fc170ce39459b47 [diff] |
compiler: check error expression in Array_type::get_backend_length Otherwise, a zero length is created in the backend and the backend doesn't know there is an error. Change-Id: Ifd285963e0cab8498f631cfaf70548027a9c6310 Reviewed-on: https://go-review.googlesource.com/61610 Reviewed-by: Ian Lance Taylor <iant@golang.org>