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)
commit825d2392fd4aa57d6ef38a6a55490cf8debe1c89
treeb1d07011580b1ca539d48d37f478ecb5a98a4f3d
parent4eb35f01a26c2b555debb296ac659de248b14e82
parenta34c5eba19ea3ef994a20d449da3da2b95aea899
Merge: Alternative intern

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>