contrib/objcwrapper: replace `scope` by `is_class_property`
[nit.git] / contrib / objcwrapper / src / objc_visitor.nit
index 3657b6c..0c131cc 100644 (file)
@@ -75,7 +75,7 @@ redef class Nsignature_block_signature
        do
                var method = new ObjcMethod
                method.return_type = n_signature_return_type.to_type
-               method.scope = if n_scope.is_class_property then '-' else '+'
+               method.is_class_property = n_scope.is_class_property
 
                for n_param in n_parameter.children do
                        var param = n_param.to_param