nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
typing: Make `TypeVisitor::anchor` non-nullable
[nit.git]
/
src
/
metrics
/
detect_covariance.nit
diff --git
a/src/metrics/detect_covariance.nit
b/src/metrics/detect_covariance.nit
index
25463ad
..
643679a
100644
(file)
--- a/
src/metrics/detect_covariance.nit
+++ b/
src/metrics/detect_covariance.nit
@@
-350,7
+350,6
@@
redef class TypeVisitor
if dcp.is_disabled then return res
var anchor = self.anchor
- assert anchor != null
var supx = sup
var subx = sub
var p = node.parent.as(not null)