diff options
Diffstat (limited to 'GenCs.cs')
-rw-r--r-- | GenCs.cs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -270,9 +270,9 @@ public class GenCs : GenTyped } } - protected override void WriteCoercedLiteral(CiType type, CiLiteral literal) + protected override void WriteCoercedLiteral(CiType type, CiExpr literal) { - WriteLiteral(literal.Value); + literal.Accept(this, CiPriority.Argument); if (type == CiSystem.FloatType) Write('f'); } |