elementary / elementary/appcenter

Fails to build with stricter type-argument checking of valac

Open
#896 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
554
Forks
104
Avg merge
15h 57m
Merged PRs (30d)
2

Description

```vala
../src/Core/Client.vala:373.62-373.93: error: Argument 1: Cannot convert from `GLib.GenericArray' to `unowned GLib.GenericArray'
AppStream.utils_sort_components_into_categories (appstream_pool.get_components (), category_array, true);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

See https://gitlab.gnome.org/GNOME/vala/issues/696

Contributor guide

Open the contributing guide

Research direction

Start at src/Core/Client.vala line 373 and reproduce the build with the stricter valac type-argument checking described in the error. Check the AppStream call and the referenced Vala issue; done means the project builds without this type-conversion error.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.