Re: Referencing enums in other protocols

2018-05-02 Thread Pekka Paalanen
On Tue, 1 May 2018 10:18:08 + Auke Booij wrote: > On Mon, Apr 23, 2018 at 9:08 AM, Pekka Paalanen wrote: > > I think that's an oversight. It should indeed be possible to reference > > enums just like interfaces from other protocol files. > > From my point of view, we did not add this whe

Re: Referencing enums in other protocols

2018-05-01 Thread Auke Booij
On Mon, Apr 23, 2018 at 9:08 AM, Pekka Paalanen wrote: > On Mon, 23 Apr 2018 03:42:31 -0400 > Simon Ser wrote: > >> Hi all, >> >> While writing a protocol, I've been trying to reference symbols from another >> protocol. While it seems to work fine for interfaces, it fails for enums: >> >> err

Re: Referencing enums in other protocols

2018-04-23 Thread Pekka Paalanen
On Mon, 23 Apr 2018 03:42:31 -0400 Simon Ser wrote: > Hi all, > > While writing a protocol, I've been trying to reference symbols from another > protocol. While it seems to work fine for interfaces, it fails for enums: > > error: could not find enumeration wl_output.transform > > Is this b

Referencing enums in other protocols

2018-04-23 Thread Simon Ser
Hi all, While writing a protocol, I've been trying to reference symbols from another protocol. While it seems to work fine for interfaces, it fails for enums: error: could not find enumeration wl_output.transform Is this by design? It seems odd to me that interfaces work but enums don't. Th