You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[VSCode] Triggering intellisense crashes vscode extension/LSP on br/public:avm/res/network/application-gateway:0.5.1 on the sku fieldΒ #15569
Manually copied bicep output, hoping it helps as well
[bicep-extension-report.log](https://github.com/user-attachments/files/17718080/bicep-extension-report.log)
Obviously the br/public:avm/res/network/application-gateway:0.5.1::params.sku field here is a string, but I don't think it should fry itself when it isn't
I was able to reproduce this issue. It is caused by a Stack Overflow in the language server and likely related to the type mismatch between the sku property declared type and the object value, which we need to handle gracefully instead of crashing.
Activity
alexrecuenco commentedon Nov 12, 2024
Obviously the
br/public:avm/res/network/application-gateway:0.5.1::params.skufield here is a string, but I don't think it should fry itself when it isn'tmajastrz commentedon Nov 13, 2024
I was able to reproduce this issue. It is caused by a Stack Overflow in the language server and likely related to the type mismatch between the sku property declared type and the object value, which we need to handle gracefully instead of crashing.
majastrz commentedon Nov 14, 2024
Fix will be available in the next release.
Fixed stack overflow when requesting completion in an object literal (Aβ¦