$foo?bar = 1 "$foo?bar" only $foo is highlighted as a variable, this causes confusion to the customer as PowerShell treats $foo?bar as the variable (which is allowed) PSReadline highlights correctly
$foo?bar = 1
"$foo?bar"
only $foo is highlighted as a variable, this causes confusion to the customer as PowerShell treats $foo?bar as the variable (which is allowed)
PSReadline highlights correctly