nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7884e46
)
rta: do not drop abstract methods. abstract method can be live in Nit.
author
Jean Privat
<jean@pryen.org>
Thu, 26 Feb 2015 12:56:06 +0000
(19:56 +0700)
committer
Jean Privat
<jean@pryen.org>
Thu, 26 Feb 2015 12:56:06 +0000
(19:56 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>
src/rapid_type_analysis.nit
patch
|
blob
|
history
diff --git
a/src/rapid_type_analysis.nit
b/src/rapid_type_analysis.nit
index
2d9fee4
..
434c0e0
100644
(file)
--- 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"