Merge: null as receiver
authorJean Privat <jean@pryen.org>
Thu, 8 Jan 2015 02:49:57 +0000 (21:49 -0500)
committerJean Privat <jean@pryen.org>
Thu, 8 Jan 2015 02:49:57 +0000 (21:49 -0500)
Accepts literal `null` as a receiver of `==`, `!=` and `is_same_instance`.

This could help to finish #1041

Does people need other methods of Object available for `null`?

Pull-Request: #1082
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Etienne M. Gagnon <egagnon@j-meg.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

1  2 
src/compiler/global_compiler.nit
src/compiler/separate_compiler.nit
src/semantize/typing.nit

Simple merge
Simple merge
Simple merge