nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loader: scan_group does not identify file already identified as group.
[nit.git]
/
src
/
loader.nit
diff --git
a/src/loader.nit
b/src/loader.nit
index
7ff71a6
..
a914b56
100644
(file)
--- a/
src/loader.nit
+++ b/
src/loader.nit
@@
-532,10
+532,11
@@
redef class ModelBuilder
var fp = p/f
var g = get_mgroup(fp)
# Recursively scan for groups of the same package
var fp = p/f
var g = get_mgroup(fp)
# Recursively scan for groups of the same package
- if g != null and g.mpackage == mgroup.mpackage then
+ if g == null then
+ identify_file(fp)
+ else if g.mpackage == mgroup.mpackage then
scan_group(g)
end
scan_group(g)
end
- identify_file(fp)
end
end
end
end