Issues from adversarial experiments on semantic analysts (ece8b148 to a7721303)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript
- Domaine
- compilers
Piste de recherche
This issue groups 23 separate issues covering compiler behavior, syntax and formatting, editor analysis, rewatch, tests, docs, CI and package metadata. Start with the linked sub-issue that matches the area you want to work on; its description should identify the specific defect or task and any relevant files or tests. Done means resolving that sub-issue’s stated task; the issue provides no single completion check for the whole collection.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Found by adversarial experiments on semantic analysts.
23 issues, covering 58 distinct defects in the changes from ece8b148 to a7721303 and the code they touch. Each issue was checked against 8d51b9ce7: behaviour bugs were reproduced with the compiler built at that commit. None repeats #8757–#8767.
- 11 behaviour bugs, each in its own issue: a compiler crash, 5 miscompilations or wrong outputs (record copies, two JSX preserve-mode cases, the PPX round trip, toplevel module await), 3 formatter bugs, a lost watch in
rescript watchand a test-harness race - 12 issues, most of them checklists, for tests that no longer guard their claim, dead code, stale comments and docs, missing tests, CHANGELOG classification, CI and package metadata
Compiler
- #8810 Compiler crash (matching.ml assertion) on dict and optional-field record patterns mixing a value and
?Noneon one key - #8811 Unused record copies are no longer removed: object spreads are always treated as side-effecting
- #8812 JSX preserve mode: the call fallback copies props given by a sole spread
- #8813 JSX preserve mode spreads an
@unboxedprops record - #8814 External PPX round trip turns
Primitive_dict.make(...)calls into dict literals and flattens nested dict-literal spreads - #8815 Toplevel
module M = await (P: S)compiles to a static import - #8816 CHANGELOG: removed
%primitives and the-ppflag are listed under Internal but break user code - #8817 Dead code and duplication in compiler/ml
- #8818 Stale comments in the compiler
Syntax, formatter and editor analysis
- #8819 Formatter prints
module(await (await M): S), which the parser rejects - #8820 Formatter drops comments in dict patterns, variant spread patterns and dict literal spreads
- #8821 Formatter indents dict literal rows twice after a spread
- #8822 Missing tests for dict and module-await syntax in reanalyze, the formatter and the v0 AST bridge
- #8823 Dead code in editor analysis and reanalyze
- #8824 Stale comments and docs in syntax and analysis
Rewatch, tests, docs and packaging
- #8825 rewatch watch on Linux stops watching a source folder when an overlapping recursive source folder is removed from rescript.json
- #8826 super_errors snapshot update can fail because the long-path run reads snapshots while they are being rewritten
- #8827 Build-test fixtures that no longer test what they claim
- #8828 Stale developer docs, test comments and the build schema
- #8829 rewatch comments that contradict the code
- #8830 CI does not run
npm run typecheck - #8831
@apply.transformsinrescript-tools migratehas no test - #8832 Root package.json exports
./lib/es6/*and./lib/js/*, which the rescript package does not contain
- Langage dominant
- OCaml
- Étoiles
- 7.5k
- Forks
- 484
- Merge moyen
- 20 h 27 min
- PR mergées (30 j)
- 120
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de rescript-lang/rescript
-
rewatch watch on Linux stops watching a source folder when an overlapping recursive source folder is removed from rescript.jsonPeut-être pris @cknitt l’a pris il y a 2 jours. Ouverte
Difficulté 4/5 1-2 jours Accessibilité débutants 35/100
rescript-lang/rescript#8825 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
rescript-lang/rescript#8806 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
rescript-lang/rescript#8798 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 Une demi-journée Accessibilité débutants 58/100
rescript-lang/rescript#8757 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 40/100
rescript-lang/rescript#8753 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de rescript-lang/rescript
Issues similaires
-
area:observer enhancement found-by:cold-read good first issue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
InauguralSystems/EigenScript#1781 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
webgpu-tools/wesl-rs#331 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
limitlessprojects/Go-Hybrid#50 ·
Les mainteneurs répondent en général sous 1 jour
-
Drawing: a reserved word as a view or sheet name says "is not a name" instead of "is reserved"Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
bmander/geomsolver#316 ·
Les mainteneurs répondent en général sous 1 jour
-
text as float loses precisionOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100