Downs' proposal, cooperate with linker to emit message?

davidl davidl at 126.com
Tue May 22 19:39:45 PDT 2007


The problem of leaving a method outside the class would complicate the  
compiler forward reference.
while the idea is the unified mangle method could generate code without  
knowing forward references only
when you want the compiler emit error messages when programmer calls a  
method which doesn't exist.
well the idea here is cooperate with linker , the linker would emit  
missing blahblah symbol, and the
compiler could use the symbol to emit reasonable compile message. And now  
everything goes fine.
No slowening compiler speed while with reasonable compile message

-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list