bicep icon indicating copy to clipboard operation
bicep copied to clipboard

vs-bicep sanity testing: The warning doesn't disappear and an additional error message appears in the Error List after selecting "Remove unnecessary string interpolation" option

Open v-chenzha opened this issue 1 year ago • 1 comments

OS Version/SKU: Win10 22H2/Enterprise VS Version/SKU: 17.12.0 Preview 3.0 [35303.189.main] Bicep Build: 14970

Repro Steps:

  1. Start with this main.bicep file:
var name = 'name'
resource a 'Astronomer.Astro/organizations@2023-08-01' = {
	name: '${name}'
	location: 'westus'
}
  1. Check there is a warning in the Error List. image
  2. Click on the line with the warning and click the light bulb -> Select "Remove unnecessary string interpolation".
  3. Check whether the warning has disappeared in the Error List.

Expect: The warning should disappear in the Error List.

Actual: The warning doesn't disappear and an additional error message appears in the Error List. image

v-chenzha avatar Sep 04 '24 07:09 v-chenzha

@StephenWeatherford, can you take a look at this?

puicchan avatar Oct 09 '24 20:10 puicchan