[nem-en] T2 pass (Typer2) in IntelliSenseMode
Michal Moskal
michal.moskal at gmail.com
Sun Feb 18 16:30:16 CET 2007
On 2/18/07, vc <vc at rsdn.ru> wrote:
> Hi,
>
> I am compelled to return T2 in VS Integration since without it тще
> impossible to notify user about warnings/errors like:
> Warning N168: a local value x was never used. Replace name with '_' or
> prefix it like '_bar' to avoid the warning
>
> What is done on it (and the subsequent) step?
If you want all the errors you would probably want to go through all
the passes. OTOH I would still suggest using representation before T2
for intelli sense purposes, as it is more syntax-like (like properties
are not yet transformed to calls and so on).
Just grep for ReportError/Message.* in Typer2/3/4 to see what kind of
errors are reported there.
--
Michał
More information about the devel-en
mailing list