From: Jean Privat Date: Thu, 14 Aug 2014 17:38:49 +0000 (-0400) Subject: rta: `add_super_send` uses live_classes instead of live_types X-Git-Tag: v0.6.8~19^2 X-Git-Url: http://nitlanguage.org rta: `add_super_send` uses live_classes instead of live_types Otherwise, some not-yet-resolved open types can be forgot. Signed-off-by: Jean Privat --- diff --git a/src/rapid_type_analysis.nit b/src/rapid_type_analysis.nit index 31f4015..ceca71d 100644 --- a/src/rapid_type_analysis.nit +++ b/src/rapid_type_analysis.nit @@ -427,8 +427,8 @@ class RapidTypeAnalysis if live_super_sends.has(mpropdef) then return #print "new super prop: {mpropdef}" live_super_sends.add(mpropdef) - for t in live_types do - try_super_send(t, mpropdef) + for c in live_classes do + try_super_send(c.intro.bound_mtype, mpropdef) end end end