Oxidizer wrong translation

Objective-C, VS

int page = floor((self.scrollView.contentOffset.x - pageWidth / 2) / pageWidth) + 1;

is translated to:

namespace
{
	public static class __Globals
	{
		// 
		// 
		public int page;
 
	}
 
}

But with this lines:

CGFloat pageWidth = self.scrollView.frame.size.width;
int page = floor((self.scrollView.contentOffset.x - pageWidth / 2) / pageWidth) + 1;
self.pageControl.currentPage = page;

is translated to (check second line missing brackets):

CGFloat pageWidth = this.scrollView.frame.size.width;
int page = floor(this.scrollView.contentOffset.x - pageWidth / 2 / pageWidth) + 1;
this.pageControl.currentPage = page;

b.r.

Thanks, logged as bugs://72885

bugs://72885 got closed with status fixed.

#This is fixed:


int page = floor((self.scrollView.contentOffset.x - pageWidth / 2) / pageWidth) + 1;

is translated to:

namespace
{
    public static class __Globals
    {
        // 
        // 
        public int page;
 
    }
}


#This is not fixed:

But with this lines:

CGFloat pageWidth = self.scrollView.frame.size.width;
int page = floor((self.scrollView.contentOffset.x - pageWidth / 2) / pageWidth) + 1;
self.pageControl.currentPage = page;

is translated to (check second line missing brackets):

CGFloat pageWidth = this.scrollView.frame.size.width;
int page = floor(this.scrollView.contentOffset.x - pageWidth / 2 / pageWidth) + 1;
this.pageControl.currentPage = page;

[EDIT]

Please reopen/confirm

b.r.