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

Error After "using" in Julia 1.0.5 #373

Closed
rafaelmartinelli opened this issue Jun 15, 2020 · 3 comments · Fixed by #374
Closed

Error After "using" in Julia 1.0.5 #373

rafaelmartinelli opened this issue Jun 15, 2020 · 3 comments · Fixed by #374
Labels
bug Something isn't working

Comments

@rafaelmartinelli
Copy link

After installing Coluna and BlockDecomposition using Julia 1.0.5 on both Windows and Linux, I get the following error:

Windows:
image

Linux:
image

Please let me know if you need more information.

@rafaelmartinelli rafaelmartinelli added the bug Something isn't working label Jun 15, 2020
@guimarqu
Copy link
Contributor

Hi,

Thank you for reporting this issue.

It looks like Base.@kwdef works for julia 1.1 and above only.

Two options :

  1. drop support of Julia 1.0 (and LTS version)
  2. use with_kw from Parameters.jl (and add a new dependency).

I'm in favor of option 2 ( @rrsadykov @vitornesello what do you think ?).

Source : https://discourse.julialang.org/t/kwdef-not-working-for-parametric-struct/25286

@rrsadykov
Copy link
Collaborator

Yes, I am for option 2 too (if @with_kw has the same functionality as @kwdef). We also need to release 0.3.1 with this correction (I suppose there is a bunch of people using Julia 1.0) and we need to add Julia 1.0.5 to tests.

@guimarqu
Copy link
Contributor

Yes for sure, it's a critical bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants