src: misc typos, doc and warning fixes
[nit.git] / src / semantize / typing.nit
index fc89e5f..5340c14 100644 (file)
@@ -740,7 +740,7 @@ end
 class CallSite
        super MEntity
 
-       redef var location: Location
+       redef var location
 
        # The static type of the receiver (possibly unresolved)
        var recv: MType
@@ -791,7 +791,7 @@ end
 
 redef class Variable
        # The declared type of the variable
-       var declared_type: nullable MType is writable
+       var declared_type: nullable MType = null is writable
 
        # Was the variable type-adapted?
        # This is used to speedup type retrieval while it remains `false`