From cb0d472e371a6ec4b96f53f6e989e59b1fd0a67e Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 14 Aug 2014 13:38:49 -0400 Subject: [PATCH] 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 --- src/rapid_type_analysis.nit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.9.5