Merge: Reject arrays of null
authorJean Privat <jean@pryen.org>
Tue, 6 Jan 2015 02:02:23 +0000 (21:02 -0500)
committerJean Privat <jean@pryen.org>
Tue, 6 Jan 2015 02:02:23 +0000 (21:02 -0500)
The type `Array[null]` is not exprimable directly, and this is a good thing because it is and useless type and is broken in the compilers (except with `--erasure` for obvious reasons). However, it was still possible to create such a buggy type with literal arrays. eg `[null, null]`.

Pull-Request: #1080
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>


Trivial merge