Macaulay2 / Macaulay2/M2

unhelpful warning message

Open
#2,582 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Interpreter
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

I have a package that I am writing, and I get the following behavior when loading it. This package loads a number of other packages too.

i1 : needsPackage "StringTorics"
warning: 'intersectionNumbers' redefined
: here is the first use of 'intersectionNumbers'
       : debug with expression   debug 2671   or with command line option   --debug 2671

This appears to be a bug? I try debug 2671 and get nothing useful either.
I'll look into this to try to boil the problem down.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the warning from needsPackage "StringTorics" and try the suggested debug 2671 command. Trace why the intersectionNumbers redefinition warning and its debug guidance provide no useful information; done means the diagnostic points to actionable context.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.