Closed 50Wliu closed 7 years ago
While this now works, it actually doesn't fix #43. The bigger issue is that lambdas are entirely unsupported, which I'm working on now.
which I'm working on now.
Are you going to open a separate PR for the lambdas and this is ready to review now? (Sorry, just clarifying ... brain too full :grinning:)
Yeah, this is ready for review. Lambdas...might take a while. Trying to copy/paste over as much as I can from language-javascript but there's a lot to change :(.
This looks ok to me but I haven't used C# in a few years and am not up to date on the new string interpolation stuff.
I just followed the spec: https://msdn.microsoft.com/en-us/library/dn961160.aspx?f=255&MSPPError=-2147217396. Hopefully that covers everything :laughing:.
@lee-dohm I can kick the tires on this PR over the weekend if you'd like a +1 on this
I'd appreciate that @shiftkey :grinning:
For reference, this is an example:
Console.WriteLine($"Name = {name}, hours = {hours:hh}")
Any progress on this yet?
By the way, I hope you also take into consideration that string interpolation can be combined with verbatim literals, e.g.
string message = $@"{name} exclaimed ""Hello, world!""";
Fixes #43Note: I was not able to test this (yet). It probably doesn't even fix anything.