nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nitmetrics: refactor nullables metrics computation
[nit.git]
/
src
/
mmloader.nit
diff --git
a/src/mmloader.nit
b/src/mmloader.nit
index
0230cc5
..
c59b30c
100644
(file)
--- a/
src/mmloader.nit
+++ b/
src/mmloader.nit
@@
-55,12
+55,12
@@
redef class ToolContext
# Setup the paths value
paths.append(opt_path.value)
# Setup the paths value
paths.append(opt_path.value)
- var path_env = once ("NIT_PATH".to_symbol).environ
+ var path_env = "NIT_PATH".environ
if not path_env.is_empty then
paths.append(path_env.split_with(':'))
end
if not path_env.is_empty then
paths.append(path_env.split_with(':'))
end
- path_env = once ("NIT_DIR".to_symbol).environ
+ path_env = "NIT_DIR".environ
if not path_env.is_empty then
var libname = "{path_env}/lib"
if libname.file_exists then paths.add(libname)
if not path_env.is_empty then
var libname = "{path_env}/lib"
if libname.file_exists then paths.add(libname)
@@
-186,7
+186,7
@@
redef class ToolContext
end
# A load handler know how to load a specific module type
end
# A load handler know how to load a specific module type
-class ModuleLoader
+interface ModuleLoader
# Type of module loaded by the loader
type MODULE: MMModule
# Type of module loaded by the loader
type MODULE: MMModule