Repository navigation
Closed
Description
Found by adversarial experiments on semantic analysts.
Each item below describes something that does not exist or does not behave as written.
Developer docs
-
compiler/AGENTS.mdL99, L142 andcompiler/core/README.mdL93 point tocompiler/core/lam_print.ml. The Lambda printer iscompiler/ml/printlambda.ml(686ef34). -
AGENTS.mdL147 listsmake watch. The Makefile has nowatchtarget. -
CONTRIBUTING.mdL349 says the mocha bindings are intests/tests/src/mt.res. They are intests/tests/src/mocha.resandtest_utils.res(mt.reswas removed in e1e3cf8). -
CONTRIBUTING.mdL379 says to check inmy_file_test.js. The tests project emits.mjs(tests/tests/rescript.json). -
CONTRIBUTING.mdL420 namespackages/compilerCmij.js. The built file ispackages/compiler-builtins/cmij.js, as L416 and L425 say.
Test comments and catalog
-
tests/build_tests/super_errors/input.jsL85-L91 says the long-path copy is "longer than any checkout path".- L99-L108 fixes the copy's directory at exactly 180 characters.
- A checkout whose
tests/build_tests/super_errors/fixturespath exceeds 180 characters is longer than the copy.
-
tests/tests/src/stdlib/Stdlib_DictTests.resL243-L250 says "An expression row is evaluated after the spreads before it", but the test covers only a function-call row.- A block row is hoisted.
dict{...source, "b": {for _ in 0 to 0 {log("row")}; 2}}compiles to the loop followed by{...source, b: 2}, so with a getter onsourceit logsrowbefore the getter runs. - Either narrow the comment to what is tested, or treat the hoisting as a compiler issue.
- A block row is hoisted.
-
tests/ERROR_VARIANTS.mdL210 citesmath_operator_*.resfor the MathOperator sub-cases ofExpr_type_clash.- The glob also matches
math_operator_float_plus_accepted.resandmath_operator_string_plus_accepted.res, whose snapshots are empty. - Name
math_operator_constant.resandmath_operator_float.resinstead.
- The glob also matches
Build schema
- When a dependency rejects a dependent, rewatch tells the user to set
allowed-dependentsinrescript.json(packages.rsL1219-L1227).docs/docson/build-schema.jsonhas no such property and sets"additionalProperties": false, so editors that validate against it flag the key the hint asks for.namespace-entry, which rewatch also reads (rewatch/src/config.rs), is missing from the schema in the same way.
Metadata
Metadata
Assignees
Labels
No labels
Activity