Ignore:
Timestamp:
Oct 28, 2019 2:19:27 PM (7 weeks ago)
Author:
Jesper Mattsson
Message:

Updates after review. (#5835)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-mj-5835/Compiler/ModelicaFrontEnd/src/jastadd/errorcheck/ComplianceCheck.jadd

    r13714 r13871  
    284284    public static final SimpleProblemProducer ASTNode.UNSUPPORTED_NON_FIXED_STRING_ARGUMENT =
    285285            new SimpleErrorProducer("UNSUPPORTED_NON_FIXED_STRING_ARGUMENT", ProblemKind.COMPLIANCE,
    286                     "Argument %s of String operator is only supported as a fixed parameter expression.");
     286                    "Argument format of String operator is only supported as a fixed parameter expression.");
    287287
    288288    public void FStringExp.complianceCheck(ErrorCheckType checkType) {
     
    291291            getFormat().markAsStructuralParameter(checkType);
    292292            if (!getFormat().variability().parameterOrLess())
    293                 UNSUPPORTED_NON_FIXED_STRING_ARGUMENT.invoke(getFormat(), "format");
     293                UNSUPPORTED_NON_FIXED_STRING_ARGUMENT.invoke(getFormat());
    294294        }
    295295    }
Note: See TracChangeset for help on using the changeset viewer.