Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 0eac662

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix lookup error message.
Belonging to [master]: - #2562
1 parent c3159ae commit 0eac662

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Compiler/Util/Error.mo

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,11 @@ public constant Message NON_PARAMETER_ITERATOR_RANGE = MESSAGE(109, TRANSLATION(
348348
Util.gettext("The iteration range %s is not a constant or parameter expression."));
349349
public constant Message IMPLICIT_ITERATOR_NOT_FOUND_IN_LOOP_BODY = MESSAGE(110, TRANSLATION(), ERROR(),
350350
Util.gettext("Identifier %s of implicit for iterator must be present as array subscript in the loop body."));
351-
public constant Message LOOKUP_VIA_COMP_NON_FUNCALL = MESSAGE(111, TRANSLATION(), ERROR(),
352-
Util.gettext("Illegal access of class '%s' in component '%s' when looking for non-function call name '%s'."));
351+
352+
// UNUSED ID 111
353+
353354
public constant Message LOOKUP_CLASS_VIA_COMP_COMP = MESSAGE(112, TRANSLATION(), ERROR(),
354-
Util.gettext("Illegal access of class '%s' via component '%s' when looking for '%s'."));
355+
Util.gettext("Illegal access of class '%s' via a component when looking for '%s'."));
355356
public constant Message SUBSCRIPTED_FUNCTION_CALL = MESSAGE(113, TRANSLATION(), ERROR(),
356357
Util.gettext("Function call %s contains subscripts."));
357358
public constant Message IF_EQUATION_UNBALANCED = MESSAGE(114, TRANSLATION(), ERROR(),

0 commit comments

Comments
 (0)