Incorrect package computation
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- tooling
调研方向
首先跟踪带有 #:lang 的 defmodulelang 和 defmodule,然后重现 (require 2d) 与 (require 2d/lang/reader) 之间的差异。当生成的软件包信息标识出 2d-lib,并且模块路径从 2d-lib 而不是不存在的 2d-test 路径加载 reader 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
https://docs.racket-lang.org/2d/ shows that #lang 2d is a part of the 2d-test package. It should actually be 2d-lib.
The root of the problem is that defmodulelang (and/or defmodule with #:lang) should not treat the input name as a final module-path to be used. In this particular case, (require 2d) loads 2d/2d-test/main.rkt, which doesn't exist and is in an incorrect package. The correct module path to require should be (require 2d/lang/reader), which loads 2d/2d-lib/lang/reader.rkt in 2d-lib.
- 主要语言
- Racket
- 星标
- 251
- 派生
- 101
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
racket/scribble 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 3/5 1-2 天 新手友好度 74/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
area:ci phase:dev priority:p1 type:chore
难度 2/5 1-3 小时 新手友好度 62/100
-
init --global under pnpm without pnpm setup hides the cause and suggests the same failing command未关闭b:minor bug
难度 2/5 1-3 小时 新手友好度 78/100
software-mansion/argent#1770 ·
维护者通常 1 天内回复
-
auto:producer auto:security
难度 1/5 1 小时以内 新手友好度 88/100
fritzprix/libr-agent#2594 ·
维护者通常 1 天内回复
-
status/need-triage
难度 2/5 1-3 小时 新手友好度 84/100
podman-desktop/podman-desktop#20059 ·
维护者通常 1 天内回复
-
help wanted Idea 💡 wdio-cli
难度 2/5 1-3 小时 新手友好度 66/100
webdriverio/webdriverio#16361 · 2 条评论 ·
维护者通常 1 天内回复