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
It looks like inside a <script> block, the intellisense thinks --> can end a JavaScript block comment /* */ (although syntax highlighting does not.)
This means that errors/warnings can appear inside comments:
<script>/* --> a b */</script>
And various other consequences of interpreting comments as code (setting types, entering blocks, etc.)
Hope this is the right place for this issue - it doesn't happen in standalone JS files - but happy to report elsewhere if this issue actually belongs there 😄
The text was updated successfully, but these errors were encountered:
It looks like inside a
<script>
block, the intellisense thinks-->
can end a JavaScript block comment/* */
(although syntax highlighting does not.)This means that errors/warnings can appear inside comments:
And various other consequences of interpreting comments as code (setting types, entering blocks, etc.)
Hope this is the right place for this issue - it doesn't happen in standalone JS files - but happy to report elsewhere if this issue actually belongs there 😄
The text was updated successfully, but these errors were encountered: