From: Jean Privat Date: Tue, 31 May 2016 18:13:27 +0000 (-0400) Subject: rta: do not analyze abstract methods X-Git-Url: http://nitlanguage.org rta: do not analyze abstract methods Signed-off-by: Jean Privat --- diff --git a/src/rapid_type_analysis.nit b/src/rapid_type_analysis.nit index 2d621e8..88e2b7e 100644 --- a/src/rapid_type_analysis.nit +++ b/src/rapid_type_analysis.nit @@ -255,6 +255,8 @@ class RapidTypeAnalysis add_cast(paramtype) end + if mmethoddef.is_abstract then continue + var npropdef = modelbuilder.mpropdef2node(mmethoddef) if npropdef isa AClassdef then