nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/serialization: detect more errors on serialize/noserialize annotations
[nit.git]
/
src
/
frontend
/
deriving.nit
diff --git
a/src/frontend/deriving.nit
b/src/frontend/deriving.nit
index
955e24a
..
3cd8718
100644
(file)
--- a/
src/frontend/deriving.nit
+++ b/
src/frontend/deriving.nit
@@
-37,7
+37,7
@@
private class DerivingPhase
do
if nat.name == "auto_inspect" then
if not nclassdef isa AStdClassdef then
do
if nat.name == "auto_inspect" then
if not nclassdef isa AStdClassdef then
- toolcontext.error(nclassdef.location, "Syntax error: only a concrete class can be `{nat.name}`.")
+ toolcontext.error(nclassdef.location, "Syntax Error: only a concrete class can be `{nat.name}`.")
else
generate_inspect_method(nclassdef)
end
else
generate_inspect_method(nclassdef)
end
@@
-45,7
+45,7
@@
private class DerivingPhase
if nat.name == "auto_derive" then
if not nclassdef isa AStdClassdef then
if nat.name == "auto_derive" then
if not nclassdef isa AStdClassdef then
- toolcontext.error(nclassdef.location, "Syntax error: only a concrete class can be `{nat.name}`.")
+ toolcontext.error(nclassdef.location, "Syntax Error: only a concrete class can be `{nat.name}`.")
else
generate_derive_to_map_method(nclassdef, nat)
end
else
generate_derive_to_map_method(nclassdef, nat)
end