korlibs / korlibs/ktcc

Support returning non-primitive value types (structs and fixed-sized arrays)

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
75
Forks
6
PR merge metrics
No merged PRs in 30d

Description

This should be implemented by returning void, and adding a parameter with a pointer to copy the value to.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the compiler's handling of function return values and compare how primitive values are generated with structs and fixed-sized arrays. Done means those non-primitive values use a void return with a pointer parameter for copying the value.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, kotlin
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.