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 #409

Closed
IgorDouven opened this issue Sep 10, 2020 · 1 comment
Closed

Pluto complains about multiple definitions #409

IgorDouven opened this issue Sep 10, 2020 · 1 comment

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?

@karlwessel
Copy link
Contributor

There isn't another solution yet :(.

You can have a look at issue #177 for details on work to solve this.

@fonsp fonsp closed this as completed Sep 11, 2020
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

3 participants