nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
android & benitlux: use NitObject in clients
[nit.git]
/
src
/
frontend
/
parse_examples.nit
diff --git
a/src/frontend/parse_examples.nit
b/src/frontend/parse_examples.nit
index
945eb31
..
78258fa
100644
(file)
--- a/
src/frontend/parse_examples.nit
+++ b/
src/frontend/parse_examples.nit
@@
-22,7
+22,6
@@
module parse_examples
import counter
import typing
import parse_annotations
import counter
import typing
import parse_annotations
-import doc_down
import model::model_examples
redef class ToolContext
import model::model_examples
redef class ToolContext
@@
-118,6
+117,7
@@
redef class ANewExpr
redef fun accept_example_visitor(v) do
var recvtype = self.recvtype
if recvtype != null then
redef fun accept_example_visitor(v) do
var recvtype = self.recvtype
if recvtype != null then
+ v.counter.inc recvtype.mclass
v.counter.inc recvtype.mclass.intro
end
visit_all(v)
v.counter.inc recvtype.mclass.intro
end
visit_all(v)