Merge: Chain implememtations
authorJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 20:30:25 +0000 (16:30 -0400)
committerJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 20:30:25 +0000 (16:30 -0400)
commit19fb73806c4c5e6301765dc70e3bddafc81ea0e6
tree86bd4a58d8cf6b816400582bb87447ba829e8010
parent653fdf9a16dde6488a47bdf0fdc7103988a88f27
parent62e0a68bd994a6c7e3f0fd893aae4189efa4a2c8
Merge: Chain implememtations

Change in engine so the selected implementation is more abstract and has some kind of fall-back.

1. if intern or extern, try to get the specific implementation
2. else try to compile the body
3. else compile an error

The point is top prepare a future PR where intern and extern methods could provide an alternative (slow or degraded) implementation.

Pull-Request: #730
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
src/compiler/abstract_compiler.nit