Skip to content

Conversation

@pedrobslisboa
Copy link
Contributor

@pedrobslisboa pedrobslisboa commented Jan 24, 2025

Issue #2822

Description

This PR adds validation for records fields and jsx props to avoid pun them when the have attributes

Signed-off-by: Pedro B S Lisboa <pedrobslisboa@gmail.com>
Copy link
Member

@anmonteiro anmonteiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for solving this one! almost there

@pedrobslisboa pedrobslisboa force-pushed the fix/record-attr branch 3 times, most recently from faabffe to ac648b7 Compare January 30, 2025 08:58
Signed-off-by: Pedro B S Lisboa <pedrobslisboa@gmail.com>
@pedrobslisboa
Copy link
Contributor Author

thanks for solving this one! almost there

Thanks for the review @anmonteiro

@anmonteiro anmonteiro merged commit cc5f314 into reasonml:master Feb 2, 2025
20 checks passed
anmonteiro added a commit that referenced this pull request Feb 2, 2025
anmonteiro added a commit to anmonteiro/opam-repository that referenced this pull request Feb 10, 2025
CHANGES:

- rtop: read `~/.config/rtop/init.re` configuration file (@anmonteiro,
  [reasonml/reason#2813](reasonml/reason#2813))
    - the `-init FILE` flag works as before
- rtop: ignore `~/.ocamlinit.ml` or `~/.config/utop/init.ml` config files
  (@anmonteiro, [reasonml/reason#2813](reasonml/reason#2813))
- Add support for raw identifier syntax (@anmonteiro,
  [reasonml/reason#2796](reasonml/reason#2796))
- Fix: display attributes in record field and JSX props under punning
  (@pedrobslisboa, [reasonml/reason#2824](reasonml/reason#2824))
- Support modest Unicode letters in identifiers
  (@anmonteiro, [reasonml/reason#2828](reasonml/reason#2828))
- refmt: fix file descriptor leak
  (@anmonteiro, [reasonml/reason#2830](reasonml/reason#2830))
davesnx added a commit that referenced this pull request Dec 15, 2025
* 'master' of github.com:/reasonml/reason:
  add changelog for #2840
  require OCaml 4.08 (#2840)
  update flakes
  parser: fix location in records (#2838)
  refactor: scopes in refmt command (#2836)
  chore(nix): remove flake-utils (#2832)
  ci: build 4.13.x (#2831)
  set version
  prep 3.15.0
  test: reproduce fd leak (#2830)
  feat: modest support for unicode letters in identifiers (#2828)
  nix: remove nix-filter (#2827)
  nix: remove flake-utils (#2826)
  chore: update esy lock (#2825)
  chore: add changelog entry for #2824
  Fix record field and jsx props punned when with attributes  (#2824)
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.

2 participants