clean: make some classes abstract or interfaces
[nit.git] / src / global / reachable_from_init_method_analysis.nit
index fcffe1e..4735012 100644 (file)
@@ -53,7 +53,7 @@ end
 # Subclasses of this class would represent an analysis that produces
 # at least a way of knowing if a property is reachable from at least
 # one init in the program
-class ReachableFromInitMethodAnalysis
+interface ReachableFromInitMethodAnalysis
        fun is_iroutine_reachable_from_init(ir: nullable IRoutine): Bool is abstract
        fun is_method_reachable_from_init(method: MMMethod): Bool is abstract
 end