nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: nitunit: Use markdown2
[nit.git]
/
src
/
nitsmells.nit
diff --git
a/src/nitsmells.nit
b/src/nitsmells.nit
index
da8454a
..
ea6a9be
100644
(file)
--- a/
src/nitsmells.nit
+++ b/
src/nitsmells.nit
@@
-12,11
+12,14
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-import metrics_base
-import mclasses_metrics
+import nitsmell_toolcontext
import semantize
import codesmells_metrics
import semantize
import codesmells_metrics
+# For force nit to do the good linéarisation to remove the toolcontext redef warning
+redef class ToolContext
+ redef init do super
+end
# Create a tool context to handle options and paths
var toolcontext = new ToolContext
# Create a tool context to handle options and paths
var toolcontext = new ToolContext