Skip to content

Commit

Permalink
Fix overload of String in new inst.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed Mar 17, 2017
1 parent 0f52fc6 commit 1f69fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFBuiltinFuncs.mo
Expand Up @@ -111,7 +111,7 @@ constant Function STRING_REAL = Function.FUNCTION(Path.IDENT("String"),
constant Function STRING_REAL_FORMAT = Function.FUNCTION(Path.IDENT("String"),
STRING_NODE, {REAL_PARAM, STRING_PARAM}, {STRING_PARAM}, {}, {
Slot.SLOT("r", SlotType.POSITIONAL, NONE(), NONE()),
Slot.SLOT("format", SlotType.NAMED, SOME(Expression.STRING("-0.6g")), NONE())
Slot.SLOT("format", SlotType.NAMED, NONE(), NONE())
}, Type.STRING(), DAE.FUNCTION_ATTRIBUTES_BUILTIN, listArray({true}));

// String(i, minimumLength=0, leftJustified=true)
Expand Down

0 comments on commit 1f69fcc

Please sign in to comment.