as3hx icon indicating copy to clipboard operation
as3hx copied to clipboard

Converting Error

Open andrew-git opened this issue 7 years ago • 4 comments

Looks like missed ";" after break cause converting error

package
{
	public class Test
	{
		private function func():int
		{
			switch( platform )
			{
				case 1:
					return 1;
					break
				case 2:
					return 2;
					break
			}
			
			return 0;
		}
	}
}

ERRORS: These files were not written due to source parsing errors: In Test.as(12) : Unexpected :

Line 12 - "case 2:"

andrew-git avatar Oct 24 '18 17:10 andrew-git

I too am getting this error with the latest git version, is there a fix available?

JonnyTech avatar Mar 29 '19 18:03 JonnyTech

I too am getting this error with the latest git version, is there a fix available?

Unfortunally looks like no, I manually fix sources before converting

andrew-git avatar Apr 02 '19 22:04 andrew-git

Thanks for the update. Is @SlavaRa still maintaining this project?

JonnyTech avatar Apr 02 '19 22:04 JonnyTech

@JonnyTech I can fix it on the weekend.

SlavaRa avatar Apr 03 '19 06:04 SlavaRa