Incorrect compile error when using String Interpolation

Answered

When you use string interpolation in conjunction with the ':=' method of parameter referencing it raises an incorrect compile error for example

Query &= vbCrLf & $"tt_flightno like {Cn(txtFlightNo.Text, IncludeOuterPercentages:=True)}"

Produces the squiggly line and error; "Cannot resolve symbol 'IncludeOuterPercentages'"

This is really annoying.

1 comment
Comment actions Permalink
Official comment

Hello Luke,

I filed a new ticket to YouTrack https://youtrack.jetbrains.com/issue/RSRP-460595 for deeper investigation.

Thanks! 

Please sign in to leave a comment.