Untested compiler error and warning variants
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
- 领域
- testing
调研方向
Start with tests/ERROR_VARIANTS.md and the super_errors harnesses it describes. The issue lists compiler error and warning variants that lack test coverage, along with the obstacles found for reproducing them. Determine which entries can be covered by fixtures or need a different harness, then add tests where reachable and document any dead-code candidates; done means the useful catalog findings are preserved and the test gaps are addressed.
由索引模型根据 Issue 内容生成。
描述
tests/ERROR_VARIANTS.md is being removed. This issue keeps the useful part: the compiler error and warning variants that no test exercises. For each one it records what the catalog found about reaching it.
Possibly a bug
-
Syntaxerr.Variable_in_scope: reachable vialet f: type t. (t, 't) => t = …, butSyntaxerr.errorhas no registered printer, so it escapes asFatal error: exception Syntaxerr.Error(_). It needs a printer, or should become a regular typed diagnostic.
Reachability unknown
Sites are live, but no source reproduction has been found. Each of these either needs a fixture or is a dead-code candidate.
-
typedecl.Cycle_in_def:recursive_type_abbrev_cycle.resreportsRecursive_abbrevinstead. -
typedecl.Rebind_mismatch: the shape check afterRebind_wrong_type. -
typedecl.Type_clash: marked "appears dead" in the source. -
typemod.With_makes_applicative_functor_ill_typed(check_usage_of_path_of_substituted_item): attempts hitnot a signaturefirst. -
typemod.Cannot_eliminate_dependency(Pmod_applyintype_module_aux): attempts hitIncomplete_packed_moduleorescapes its scope. -
typemod.Scoping_pack(type_package): attempts hitIncomplete_packed_module. - Warning 5
Partial_application(check_application_result): no reproduction found.
Reachable, but not from the super_errors harnesses
Needs a per-fixture flag
-
typecore.Jsx_not_enabled: the runner hard-codes-bs-jsx 4. -
typecore.Invalid_string_escape_sequence: the parser rejects such source first, so only a PPX can produce the AST.
Needs missing or stale build state
-
typedecl.Unavailable_type_constructor -
typemod.With_changes_module_alias -
typemod.Cannot_scrape_alias -
typetexp.Cannot_scrape_alias -
includemod.Unbound_modtype_path -
includemod.Unbound_module_path -
includemod.Invalid_module_alias -
bs_exception.Cmj_not_found -
bs_exception.Missing_ml_dependency -
bs_exception.Dependency_script_module_dependent_not: a script-mode dependency used from package mode. -
env.Illegal_renaming -
env.Inconsistent_import -
env.Missing_module - Warning 49
No_cmi_file
Needs corrupt or foreign binary files
-
cmi_format.Not_an_interface -
cmi_format.Wrong_version_interface -
cmi_format.Corrupted_interface -
cmt_format_common.Not_a_typedtree -
cmd_ast_exception.WrongMagic: a PPX returns the wrong AST magic number.
Needs custom argv
-
bsc_args.Unknown(bsc --bogus) -
bsc_args.Missing(bsc -o)
Reachable from plain source
- Warning 27
Unused_var_strict: no expected output shows it.
- 主要语言
- ReScript
- 星标
- 7.5k
- 派生
- 483
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 147
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rescript-lang/rescript 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
rescript-lang/rescript#8910 ·
维护者通常 1 天内回复
-
Nested JSX components under React Server Components: derive flat exports from the signature可能已有人在做 @cknitt 于 1 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 25/100
rescript-lang/rescript#8901 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
rescript-lang/rescript#8878 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
rescript-lang/rescript#8806 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
rescript-lang/rescript#8798 ·
维护者通常 1 天内回复
查看 rescript-lang/rescript 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
jessepollak/home#2223 ·
维护者通常 1 天内回复
-
grep fixture corpus test follows the corpus's loop symlink under the receipt runner (fails on main)未关闭
难度 2/5 1-3 小时 新手友好度 68/100
code-yeongyu/senpi#3756 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
rheeloaded/paperpull#116 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug dependencies github_actions
难度 2/5 1-3 小时 新手友好度 84/100
ChristianHandy/FleetPilot#233 ·
维护者通常 1 天内回复