Commit 3e80ff0e authored by Dominique Marcadet's avatar Dominique Marcadet

Merge branch '8-update-to-change-in-scl-metamodel' into 'master'

Resolve "update to change in SCL metamodel"

Closes #8

See merge request !8
parents c42a2641 88d6320a
Pipeline #7497 passed with stages
in 24 seconds
......@@ -135,7 +135,7 @@ public class AnyLNValidator {
Diagnostic.ERROR,
RiseClipseValidatorSCL.DIAGNOSTIC_SOURCE,
0,
"DO " + doi + " cannot appear more than once in LN at line " + doi.getAnyLN().getLineNumber(),
"DO " + doi + " cannot appear more than once in LN at line " + doi.getParentAnyLN().getLineNumber(),
new Object[] { doi } ));
return false;
}
......@@ -146,7 +146,7 @@ public class AnyLNValidator {
Diagnostic.ERROR,
RiseClipseValidatorSCL.DIAGNOSTIC_SOURCE,
0,
"DO " + doi + " is forbidden in LN at line " + doi.getAnyLN().getLineNumber(),
"DO " + doi + " is forbidden in LN at line " + doi.getParentAnyLN().getLineNumber(),
new Object[] { doi } ));
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment