From 26653b816bfcf4b53dde3d67c6bf02d1c64822e4 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Sat, 28 Nov 2015 19:49:54 -0500 Subject: [PATCH] modelize: always check visibility of return types Signed-off-by: Jean Privat --- src/modelize/modelize_property.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modelize/modelize_property.nit b/src/modelize/modelize_property.nit index cd50d4a..afd299f 100644 --- a/src/modelize/modelize_property.nit +++ b/src/modelize/modelize_property.nit @@ -1060,7 +1060,7 @@ redef class AMethPropdef end end - if mysignature.arity > 0 then + if nsig != null then # Check parameters visibility for i in [0..mysignature.arity[ do var nt = nsig.n_params[i].n_type -- 1.7.9.5