LinqPad6 bug with using backtick to select multiple items
Suppose I have a table called Customer and start a query
At these stage the intellisense displays a list of columns to select.
If I select the first column (Code) and press the backtick, the query should become
but instead becomes
If I delete back to
then it behaves even weirder, but if I delete back to
it behaves correctly.
Thanks.
(from c in Customer select new { c.At these stage the intellisense displays a list of columns to select.
If I select the first column (Code) and press the backtick, the query should become
(from c in Customer select new { c.Code, c.but instead becomes
(from c in Customer select new { c.Code, new { c.}If I delete back to
(from c in Customer select new { c.Code, then it behaves even weirder, but if I delete back to
(from c in Customer select new { it behaves correctly.
Thanks.
Comments
-
Does this occur when it's the only text in a query of type 'Expression'? I can't reproduce it in this scenario.
-
Yes, but it looks like it only goes wrong when the terminating brace is present. (I missed that off my original message - sorry).
In other words the text is(from c in Customer select new { c}with the cursor placed immediately before the }
-
Thanks - I've got a fix ready for the next build.
