[nem-en] Re: [svn] r6126: nemerle/trunk/tools/msbuild-task: MSBuildTask.n Nemerle.MSBuild.targets

Kamil Skalski kamil.skalski at gmail.com
Wed Feb 15 20:17:05 CET 2006


06-02-15, NoiseEHC <svnadmin at nemerle.org> napisał(a):
> Log:
> fixed stupid logging bug and /no-stdlib option
>
>        else if (singleLine.IndexOf ("debug:") != -1) {
>          def (file, l1, c1, l2, c2) = get_location ("debug:");
> -        Log.LogMessage (null, null, null, file, l1, c1, l2, c2, singleLine.Substring (singleLine.IndexOf ("debug:") + 7));
> +        Log.LogError (null, null, null, file, l1, c1, l2, c2, singleLine.Substring (singleLine.IndexOf ("debug:") + 7));
>        }

What is the problem with using LogMessage here? I remember I had some
problems with it too, but I thought I fixed it already. If we can't
use LogMessage here (which would be the best way if possible) then we
should either skip message at all or output it in some other way -
simply emitting Error when encountering debug from compiler is wrong.
Debug is used often when developing macros.

--
Kamil Skalski
http://nazgul.omega.pl


More information about the devel-en mailing list