Merge: nitc can inline redefinitions with -D
authorJean Privat <jean@pryen.org>
Thu, 29 Oct 2015 12:36:46 +0000 (08:36 -0400)
committerJean Privat <jean@pryen.org>
Thu, 29 Oct 2015 12:36:46 +0000 (08:36 -0400)
commitd187822ec70596062e47baadbd8c852c786d7740
tree003f2d4d53f6deacaeb158396efa1000b579cac2
parenta2cdce3d0476785c39a9d94a69488e93de964f27
parentc7b945c08256f02c07efc72c21d47db801417c28
Merge: nitc can inline redefinitions with -D

nitc with --global and --semi-global tries to inline things, but methods with an explicit `constant_value` (i.e. defined with `-D`) were not recognized when asked: ``can I inline this?''

The inlining itself does not require specific code.

Close #1793

Pull-Request: #1794
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>