I have the following line of code
allGains = { **stringGains, **wordGains }
where stringGains and wordGains are two dictionaries I want to merge. The code is fine and runs ok, but visual studio flags a series of errors starting with unexpected token '**'. I can ignore the error, but having to click through the "do you want to run despite errors" window gets on my nerves, and it might lead me to miss other errors.
Does anyone know what VS does not like this syntax and whether there is anything I can do about it?