Vala does not take into account order of interfaces
@mpiechotka
Submitted by Maciej Marcin Piechotka Link to original bug (#656204)
Description
If the Iterable requires Traversable such code would fail:
internal class Gee.ReadOnlyCollection<G>
: Object, Iterable<G>
, Traversable<G>
, Collection<G>
{
As:
GLib-GObject-WARNING **: cannot add interface type GeeIterable' to type
GeeReadOnlyCollection' which does not conform to prerequisite `GeeTraversable'
FAIL
Fixes:
- Require correct order
- Impose correct order internally
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information