Setting a Double field using a Int doesn't work in Scala3
还没有人认领这个 Issue。
评估
调研方向
首先运行 issue 中的 Scala 3 复现代码:case class X(a: Double); X(0).modify(_.a).setTo(1)。然后跟踪 Quicklens 的 Scala 3 实现,找出为什么不能将 Int 用于 Double 字段;当此示例能够编译并按预期工作时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
To reproduce:
case class X(a: Double)
X(0).modify(_.a).setTo(1)
Originally reported as part of #114
- 主要语言
- Scala
- 星标
- 851
- 派生
- 53
- 平均合并
- 3 天 8 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
softwaremill/quicklens 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 48/100
softwaremill/quicklens#296 ·
-
难度 3/5 1-2 天 新手友好度 35/100
softwaremill/quicklens#291 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
softwaremill/quicklens#258 · 4 条评论 ·
-
Cannot use modify in opaque types可能重新可做 @KacperFKorban 于 840 天前认领,目前没有进行中的 PR。 未关闭
softwaremill/quicklens#234 · 2 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 38/100
softwaremill/quicklens#208 · 2 条评论 ·
查看 softwaremill/quicklens 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
enhancement
难度 1/5 1-3 小时 新手友好度 83/100
apache/datafusion-comet#7101 ·
维护者通常 1 天内回复
-
scope:security type:aquasec
难度 2/5 1-3 小时 新手友好度 76/100
AbsaOSS/atum-service#494 ·
-
Send camera_pitch and camera_roll to the AI API so validator crops can be tilt-corrected可能已有人在做 @jonfroehlich 于 1 天前认领。 未关闭AI Auto-validate
难度 2/5 1-3 小时 新手友好度 76/100
ProjectSidewalk/SidewalkWebpage#5788 · 1 条评论 ·
维护者通常 1 天内回复
-
A-network C-bug S-ready-for-human
难度 2/5 1-3 小时 新手友好度 78/100
ergoplatform/ergo#2741 · 1 条评论 ·
维护者通常 1 天内回复