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

Pluto complains about multiple definitions #410

Closed
IgorDouven opened this issue Sep 10, 2020 · 2 comments
Closed

Pluto complains about multiple definitions #410

IgorDouven opened this issue Sep 10, 2020 · 2 comments

Comments

@IgorDouven
Copy link

Hi all,

When I define a method, say

function foo(x::mytype1)
    # some code
end

and then later define

function foo(x::mytype2)
    # some code
end

Pluto complains, saying that there are multiple definitions of foo and that I should combine them into a single cell with begin ... end. But, at least in my present case, that would be ugly and would disrupt the flow of the story, so to speak. Is there another solution for this?

@IgorDouven

This comment has been minimized.

@fonsp
Copy link
Owner

fonsp commented Sep 10, 2020

#177 if anyone is searching

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