TheSpyder/rescript-webapi
Remove trailing _ from method and parameter names
Ouverte
#29 ouverte le 23 sept. 2021
good first issue
Métriques du dépôt
- Stars
- (159 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
In many cases, ReScript syntax is unambiguous enough that a trailing _ is no longer required in places it was for ReasonML and OCaml syntax. A codebase search for _: turns up quite a lot of them. Examples:
https://github.com/tinymce/rescript-webapi/blob/ea9bd980f1b2b2d516e518f1f9c166feb1073f33/src/Webapi/Webapi__Blob.res#L10
The compiler will signal when removing the underscore is not allowed, making this a mostly trivial change (but some tests would be nice)