arik-so / arik-so/ldk-parser

Fix nullability detection for some arguments

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Specifically, `find_route`'s `first_hops` argument should be a nullable-ish pointer. See comment:

> Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the parser logic for the `find_route` function and its `first_hops` argument, then trace how nullability is detected for pointer arguments. Use the issue's comment as the expected behavior: NULL or all-zero `first_hops` (or a relevant inner pointer) should represent None; done when that case is classified as nullable-ish.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.