ni: fix bug when executing a callback to Nit on an extern receiver
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 22 Jan 2013 00:20:46 +0000 (19:20 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 23 Feb 2013 14:56:13 +0000 (09:56 -0500)
commit2c10d5f9014ae58c6c1f6a7d5893b23185b9611d
treec14180bc90216069347fa4d7b62b73631b413533
parenta91c9db06f3cfa0e220774f9415cde2357ea1580
ni: fix bug when executing a callback to Nit on an extern receiver

A missing "not" was causing this bug. Only boxed types should be
prepared before a callback to Nit, not tagged types.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/native_interface/frontier.nit
tests/sav/test_ffi_c_callback_extern_receiver.sav [new file with mode: 0644]
tests/test_ffi_c_callback_extern_receiver.nit [new file with mode: 0644]