nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Callref expression support for Separate Compiler.
[nit.git]
/
src
/
testing
/
testing_suite.nit
diff --git
a/src/testing/testing_suite.nit
b/src/testing/testing_suite.nit
index
8a49a63
..
13cf20f
100644
(file)
--- a/
src/testing/testing_suite.nit
+++ b/
src/testing/testing_suite.nit
@@
-481,7
+481,9
@@
redef class MClassDef
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.before
end
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.before
end
- return res.to_a
+ var lin = res.to_a
+ mmodule.linearize_mpropdefs(lin)
+ return lin
end
# Methods tagged with `before_all` in this class definition
end
# Methods tagged with `before_all` in this class definition
@@
-497,7
+499,9
@@
redef class MClassDef
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.before_all
end
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.before_all
end
- return res.to_a
+ var lin = res.to_a
+ mmodule.linearize_mpropdefs(lin)
+ return lin
end
# Methods tagged with `after` in this class definition
end
# Methods tagged with `after` in this class definition
@@
-513,7
+517,9
@@
redef class MClassDef
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.after
end
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.after
end
- return res.to_a
+ var lin = res.to_a
+ mmodule.linearize_mpropdefs(lin)
+ return lin.reversed
end
# Methods tagged with `after_all` in this class definition
end
# Methods tagged with `after_all` in this class definition
@@
-529,7
+535,9
@@
redef class MClassDef
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.after_all
end
for mclassdef in in_hierarchy.direct_greaters do
res.add_all mclassdef.after_all
end
- return res.to_a
+ var lin = res.to_a
+ mmodule.linearize_mpropdefs(lin)
+ return lin.reversed
end
end
end
end
@@
-546,7
+554,9
@@
redef class MModule
end
end
end
end
end
end
- return res
+ var lin = res.to_a
+ linearize_mpropdefs(lin)
+ return lin
end
# Methods tagged with `after_all` at the module level (in `Sys`)
end
# Methods tagged with `after_all` at the module level (in `Sys`)
@@
-561,7
+571,9
@@
redef class MModule
end
end
end
end
end
end
- return res
+ var lin = res.to_a
+ linearize_mpropdefs(lin)
+ return lin.reversed
end
end
end
end