nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add default values for some primitive type attributes.
[nit.git]
/
src
/
mmloader.nit
diff --git
a/src/mmloader.nit
b/src/mmloader.nit
index
4b0b6e5
..
41a64fd
100644
(file)
--- a/
src/mmloader.nit
+++ b/
src/mmloader.nit
@@
-25,10
+25,10
@@
import opts
class ToolContext
special MMContext
# Number of errors
class ToolContext
special MMContext
# Number of errors
- readable attr _error_count: Int
+ readable attr _error_count: Int = 0
# Number of warnings
# Number of warnings
- readable attr _warning_count: Int
+ readable attr _warning_count: Int = 0
# Display an error
meth error(s: String)
# Display an error
meth error(s: String)