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

[BUG] Base.:* = ... (and not Base.:+ or Base.:/) causes internal error #604

Closed
VitaminBrad opened this issue Aug 27, 2020 · 2 comments
Closed
Labels

Comments

@VitaminBrad
Copy link

Details

  • Atom version: 1.49.0
  • Julia version: 1.4.2
  • OS: Linux (Fedora 32)
  • Package versions:
    • Atom.jl:
    • julia-client:
    • ink:

Steps to reproduce

  1. Base.:*(a::String,b::String) = string(a,"*",b)
    and not
    Base.:+(a::String,b::String) = string(a,"+",b)
    or
    Base.:/(a::String,b::String) = string(a,"/",b)
    causes

    the REPL still works perfectly fine, but running any line directly in the script causes the above to appear again.

With an active project:

  1. Base.:*(a::String,b::String) = string(a,"*",b)
    and not
    Base.:+(a::String,b::String) = string(a,"+",b)
    or
    Base.:/(a::String,b::String) = string(a,"/",b)
    causes

    once again the REPL still works perfectly fine, but running any line directly in the script causes the above to appear again.

Thanks!

@VitaminBrad
Copy link
Author

I just noticed that Base.:*(a::String,b::String) is the only function actually already defined. That might be what's causing the problem.

@pfitzseb
Copy link
Member

Yeah, by re-defining Base.:*(a::String,b::String) you end up breaking a bunch of things. Not much we can do about that, unfortunately.

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

No branches or pull requests

2 participants