From 550c17e52b66b7edc7cb7a8e04a6afd6643ccac9 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 26 Feb 2015 19:56:06 +0700 Subject: [PATCH] rta: do not drop abstract methods. abstract method can be live in Nit. Signed-off-by: Jean Privat --- src/rapid_type_analysis.nit | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rapid_type_analysis.nit b/src/rapid_type_analysis.nit index 2d9fee4..434c0e0 100644 --- a/src/rapid_type_analysis.nit +++ b/src/rapid_type_analysis.nit @@ -382,7 +382,6 @@ class RapidTypeAnalysis if mproperty.mpropdefs.length <= 1 then return # If all definitions of a method are live, we can remove the definition of the totry set for d in mproperty.mpropdefs do - if d.is_abstract then continue if not live_methoddefs.has(d) then return end #print "full property: {mpropdef.mproperty} for {mpropdef.mproperty.mpropdefs.length} definitions" -- 1.7.9.5