apple / apple/pkl-go

expected array length 2 but got 4

Open
#91 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
334
Forks
43
Avg merge
5h 41m
Merged PRs (30d)
1

Description

Using [Symbolicator.pkl](https://github.com/blacktop/ipsw/blob/feat/kernel_symbolicate/internal/commands/kernel/pkl/Symbolicator.pkl)

With [xnu.pkl](https://github.com/blacktop/ipsw/blob/feat/kernel_symbolicate/internal/commands/kernel/sigs/xnu.pkl)

I'm getting the error: `expected array length 2 but got 4`

?

Looking at your docs I can't see what I'm doing wrong?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error with Symbolicator.pkl and xnu.pkl from the linked paths, then read the surrounding Pkl binding and documentation behavior in pkl-go. Compare the inputs with the documented format and identify why the reported array length differs; done means the cause and a verified correction or clearer diagnostic are established.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.