Skip to content

Reproduce #933#959

Open
DZakh wants to merge 1 commit intorescript-lang:masterfrom
DZakh:repro-jsx-highlight-issue
Open

Reproduce #933#959
DZakh wants to merge 1 commit intorescript-lang:masterfrom
DZakh:repro-jsx-highlight-issue

Conversation

@DZakh
Copy link
Member

@DZakh DZakh commented Mar 15, 2024

Reproduction for: #933

  • easy to reproduce by setting jsx version to 4
  • works correctly with jsx version 3
module Test = {
  let fn = (~arg as _) => ()

  @react.component
  let make = (~prop as _) => {
    fn(~arg=())
    <div />
  }
}
image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant