Bug 30469

Summary: String interpolation with escaped bracket generates wrong result
Product: [Mono] Compilers Reporter: kfoens
Component: C#Assignee: Marek Safar <masafa>
Severity: normal CC: masafa, mono-bugs+mono, mono-bugs+runtime
Priority: ---    
Version: 4.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Reproduces string interpolation bug

Description kfoens 2015-05-26 16:25:48 UTC
Created attachment 11345 [details]
Reproduces string interpolation bug

The following C# code
  $"{{foo = {month}}}"
  {foo = 6
as output. It should generate
  {foo = 6}

Example program attached.

Tested on Windows 8 with recently installed mono-4.0.1-gtksharp-2.12.26-win32-0.msi
Comment 1 Marek Safar 2015-05-28 11:24:10 UTC
Fixed in master