Details
Description
I keep getting a "BCE0015: Node 'System.Threading.Thread(_macroStart2_)' has not been correctly processed" error when I compile the ThreadTest.boo.
I compile ThreadMacro.boo to ThreadMacro.dll just fine, but the error occurs when I start compiling ThreadTest.boo. There is no error when there is only one thread block in the file. When there are more thread blocks, it aparently parses and replaces the first thread block fine, but chokes on the second.
Looking at the various compiler pipelines, it appears that the correct Boo is being created by the macro, but it is not being processed properly by the compiler.
I don't think expanding a macro inside of a function (or making a macro return something) is currently valid right now