From: John Lam Date: 2005-11-25T04:05:36+09:00 Subject: Re: Legal symbol names and generics ------=_Part_25397_31715668.1132859129485 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes - this is by far the most straightforward way of making this happen. While I don't like "magic method names" like .specialize(), I really don't think there's a way of hacking type information into Ruby's syntax :( And I need to preserve using [] as well ... I'll see what I can't do to hack these ideas into the rewrite of my bridge. Cheers, -John http://www.iunknown.com On 11/24/05, Florian Gro=DF wrote: > > John Lam wrote: > > > channel =3D ChannelFactory[IOutputChannel].new(' > > http://www.flickr.com/services/soap/').CreateChannel< > http://www.flickr.com/services/soap/%27%29.CreateChannel> > > > > This does, however clash with static indexers in the CLR since I would > like > > to preserve the [] indexer semantics in the bridge ... thoughts? > > Use a method .fetch for indexers on classes? > > Or use ChannelFactory.specialize(IOutputChannel) or something similar. > > > ------=_Part_25397_31715668.1132859129485--