JuliaArrays / JuliaArrays/StructArrays.jl

Inner Constructors

Open
#282 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
402
Forks
49
PR merge metrics
No merged PRs in 30d

Description

It seems that this package assumed that the structs have at least the default constructors.
And if you remove them via defining more restricted inner constructors things break.
I believe the work around is to overload StructArrays.createinstance.

I can't find anything about this in the docs, but I might have missed it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the failure with a Julia struct that has restricted inner constructors, then inspect StructArrays.createinstance and the surrounding construction path. Done means restricted inner constructors work correctly, or the limitation and supported workaround are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.