[v2-beta.1]Fat arrow property definition problem Topic is solved

Report problems with documented functionality
User avatar
thqby
Posts: 406
Joined: 16 Apr 2021, 11:18
Contact:

[v2-beta.1]Fat arrow property definition problem

Post by thqby » 12 Oct 2021, 10:25

The fat arrow property defines that there must be a space after the property name?

Code: Select all

class a {
	class b {
		prop=>1
	}
}
This code has an error Missing "}" Specifically: a.

Code: Select all

class a {
	class b {
		prop =>1
	}
}
Works fine after adding space to prop.

The error occurs at Script::DefineClassProperty, *name_end = 0;


Post Reply

Return to “Bug Reports”