Duplicate of imported member when loading Annex A of specification
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by loading the linked Annex A SimpleVehicleModel.sysml file with sysml v0.12.1 and inspect the name-conflict warning at line 501 for the public import. Trace how imported member names are checked when multiple model paths expose the same name. Done means this valid model loads without the repeated false-positive duplicate errors, with relevant regression coverage.
由索引模型根据 Issue 内容生成。
描述
Model and observed behaviour
File : https://github.com/Systems-Modeling/SysML-v2-Release/tree/master/sysml/src/examples/Vehicle Example/SysML v2 Spec Annex A SimpleVehicleModel.sysml
What the specification requires
Many (repeated) errors are displayed when loading the above file :
sysml> %load "SysML v2 Spec Annex A SimpleVehicleModel.sysml" SysML v2 Spec Annex A SimpleVehicleModel.sysml:501:23: warning[name-conflict]: Duplicate of imported member name 'diameter': SimpleVehicleModel::VehicleConfigurations::VehicleConfiguration_b::PartsTree::vehicle_b::rearAxleAssembly::rearWheel1::diameter (import VehicleConfigurations::VehicleConfiguration_b::PartsTree::**), SimpleVehicleModel::VehicleConfigurations::VehicleConfiguration_b::PartsTree::vehicle_b::rearAxleAssembly::rearWheel2::diameter (import VehicleConfigurations::VehicleConfiguration_b::PartsTree::**) public import VehicleConfigurations::VehicleConfiguration_b::PartsTree::**; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kind of gap
Valid model is rejected (false positive)
Reference implementation
No response
Version
sysml v0.12.1
- 主要语言
- Go
- 星标
- 56
- 派生
- 17
- 平均合并
- 12 小时 45 分钟
- 30 天内合并 PR
- 910
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Open-MBEE/OpenSysML 的其他 Issue
-
dependencies
难度 2/5 1-3 小时 新手友好度 65/100
Open-MBEE/OpenSysML#1951 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
Open-MBEE/OpenSysML#2029 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement spec compliance
难度 4/5 3-5 天 新手友好度 55/100
Open-MBEE/OpenSysML#2028 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Java client: no member enumeration, no GetElementProperties, no instance paths可能已有人在做 @devin-ai-integration 今天认领。 未关闭enhancement
难度 4/5 3-5 天 新手友好度 42/100
Open-MBEE/OpenSysML#2022 · 2 条评论 ·
维护者通常 1 天内回复
-
Symbol API fields answer differently from GetElementProperties, with no sign that the answer is incomplete可能已有人在做 @devin-ai-integration 今天认领。 未关闭documentation enhancement
难度 4/5 3-5 天 新手友好度 48/100
Open-MBEE/OpenSysML#2021 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 Open-MBEE/OpenSysML 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
bug raised-by:verifier
难度 2/5 1-3 小时 新手友好度 76/100
medici-finance/assay#5697 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
sonatype-nexus-community/terraform-provider-sonatypeiq#101 ·
维护者通常 1 天内回复
-
area: metrics area: tracing contribfest enhancement good first issue
难度 2/5 1-3 小时 新手友好度 83/100
open-telemetry/opentelemetry-ebpf-instrumentation#4188 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
blinklabs-io/dingo#6074 ·
维护者通常 1 天内回复