Build 294 degrades compiler?

 

I made a simple test indicator.

//+------------------------------------------------------------------+
//|                                                     testLoop.mq5 |
//+------------------------------------------------------------------+
#property indicator_chart_window
int OnInit() { return(0); }
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime& time[],
                const double& open[],
                const double& high[],
                const double& low[],
                const double& close[],
                const long& tick_volume[],
                const long& volume[],
                const int& spread[])
  {
//---
   static bool first=true;
   if(first) first=false;
   else return(rates_total);
//---
   int p;
   string s;
   for(int i=0; i<2; i++)
     {
      p=0;
      while(true)
        {
         s=s+"-"+string(p);
         p++;
         s=s+"-"+string(p);
         if(p<2) continue;
         else break;
        }
     }
   Print(s);
//--- return value of prev_calculated for next call
   return(rates_total);
  }
//+------------------------------------------------------------------+

This indicator will have to print string "-0-1-1-2-0-1-1-2".
But it prints string "-0-1-0-2-0-1-0-2".

What's happening?

 
Thank you for message. Bug fixed. Please wait for updates.

 

OK. I'll be waiting for updates.