Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect location for undocumented Core methods #3310

Open
d-torrance opened this issue Jun 17, 2024 · 2 comments
Open

Incorrect location for undocumented Core methods #3310

d-torrance opened this issue Jun 17, 2024 · 2 comments

Comments

@d-torrance
Copy link
Member

For example:

i1 : locate makeDocumentTag (sin, Number)

o1 = /usr/share/Macaulay2/typicalvalues.m2:271:0

o1 : FilePosition

That file doesn't exist! It should be /usr/share/Macaulay2/Core/typicalvalues.m2.

I think the problem is that we call undocumented on this method in Core, but makeDocumentTag changes the package to Macaulay2Doc, messing up the path.

@mahrud
Copy link
Member

mahrud commented Aug 10, 2024

Is this the same bug?

i1 : locate makeDocumentTag (symbol%, Thing, Thing)

o1 = ../linuxbrew/.linuxbrew/share/Macaulay2/document.m2:725:0

@d-torrance
Copy link
Member Author

Yes, I think so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants