On Mon, 2007-03-26 at 10:30 -0700, Erick Tryzelaar wrote: > skaller wrote:
> > So, now I'll look at another approach: > > > > fun whatever[t]: unit-> string = "@%^&1" > > > > or something .. running out of magic codes here .. > > What about switching to something like: "@type_name$1" or something, > where you fully specify the name of the felix directive? Might make it a > little more clear what's going on for the more obscure directives. Yeh, something is needed. > > This will be 'post virtual function instantiation', but > > it will be the bound type name, not the raw type name. > > (Because the type variables have been replaced, there > > IS no raw typename). > > > > Would it pick up the names of type aliases? Nope, they're eliminated by substitution. I could keep a reverse phone book, and remap the name that way. Yup, it's messy, but it impacts the way diagnostics could be presented as well as your run time need, so it could be worth it. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language