Skip to content

Freeze on incomplete for loop #1387

@decorator-factory

Description

@decorator-factory

It seems like #411 is still a problem.

Steps to reproduce:

  1. Go to https://lit.dev/tutorials/working-with-lists/#4
  2. Use this for the render method:
  render () {
    for (
  }
  1. The tab freezes

I'm on Firefox 133.0.3.

Maybe it would be reasonable to not update the playground if TypeScript emits an error, if it doesn't have a good way to communicate whether it's a syntax error or a type checking error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions