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

Commit 1f69fcc

Browse files
perostOpenModelica-Hudson
authored andcommitted
Fix overload of String in new inst.
1 parent 0f52fc6 commit 1f69fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFBuiltinFuncs.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ constant Function STRING_REAL = Function.FUNCTION(Path.IDENT("String"),
111111
constant Function STRING_REAL_FORMAT = Function.FUNCTION(Path.IDENT("String"),
112112
STRING_NODE, {REAL_PARAM, STRING_PARAM}, {STRING_PARAM}, {}, {
113113
Slot.SLOT("r", SlotType.POSITIONAL, NONE(), NONE()),
114-
Slot.SLOT("format", SlotType.NAMED, SOME(Expression.STRING("-0.6g")), NONE())
114+
Slot.SLOT("format", SlotType.NAMED, NONE(), NONE())
115115
}, Type.STRING(), DAE.FUNCTION_ATTRIBUTES_BUILTIN, listArray({true}));
116116

117117
// String(i, minimumLength=0, leftJustified=true)

0 commit comments

Comments
 (0)