Merge: Alternative intern
authorJean Privat <jean@pryen.org>
Thu, 17 Dec 2015 16:02:55 +0000 (11:02 -0500)
committerJean Privat <jean@pryen.org>
Thu, 17 Dec 2015 16:02:55 +0000 (11:02 -0500)
Improve the handling of alternative of intern methods since an extern body can be used as a fallback.

~~~
redef class Int
   fun foo is intern `{ return foo(self) `}
end
~~~

Moreover, NativeArray intern alternatives is now fixed with nitc.

There is still an issue with the extern methods of NativeArray in the interpreter.

Pull-Request: #1898
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


Trivial merge