Rider accepts newlines as valid ValueTuple delimiters

Rider accepts the following as valid syntax, but it is not:

var (
   a
   b
   c
) = ("a", "b", "c");

Thanks

0
1 comment

Hello Dave,

Thank you for reporting this. I submitted this issue: RSCPP-36182 ReSharper doesn't detect compilation error on tuple declaration: wrong syntax.

Please watch the issue for further updates.

Should you have any other questions or difficulties, please let me know.

Have a nice day!

0

Please sign in to leave a comment.