From 4454f71de8483b6635970eb261be8a6cba10aa6a Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 1 May 2014 13:40:58 -0400 Subject: [PATCH] nitx: modifiers ARE accessible via the model Signed-off-by: Jean Privat --- src/nitx.nit | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/nitx.nit b/src/nitx.nit index 532914c..4759718 100644 --- a/src/nitx.nit +++ b/src/nitx.nit @@ -694,10 +694,9 @@ redef class MMethodDef if not mproperty.is_init then res.append("fun ") res.append(mproperty.to_console.bold) if msignature != null then res.append(msignature.to_console) - # FIXME: modifiers should be accessible via the model - #if self isa ADeferredMethPropdef then ret = "{ret} is abstract" - #if self isa AInternMethPropdef then ret = "{ret} is intern" - #if self isa AExternMethPropdef then ret = "{ret} is extern" + if is_abstract then res.append " is abstract" + if is_intern then res.append " is intern" + if is_extern then res.append " is extern" return res.to_s end end -- 1.7.9.5