conflicts with imported packages
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
```
newPackage("Intersection",
Version => "1.1",
Headline => "making Foo",
Configuration => { "foo" => 42, "bar" => "x" },
PackageImports => { "Polyhedra" },
DebuggingMode => true
)
export "intersection"
intersection = method()
```
The assignment above fails because Polyhedra defines "intersection", too. A warning message should be issued when the symbol is exported here.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with the shown newPackage("Intersection") example, importing Polyhedra and exporting intersection. Start by tracing how PackageImports and export are handled, then identify where imported symbols are compared with exported symbols. Done means the example emits a warning when the exported name conflicts with a name from an imported package.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100