Problems with property definition using OTB and omitting [] Topic is solved

Report problems with documented functionality
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Problems with property definition using OTB and omitting []

11 Feb 2018, 04:23

Issue example,

Code: Select all

class a {
	b{
	}
}
causes

Code: Select all

Error at line 2.

Line Text: b{ }
Error: Not a valid method, class or property definition.

The program will exit.
This works,

Code: Select all

class a {
	b
	{
	}
}
class c {
	d[]{
	}
}
:arrow: 2.0-a088-338ed55
Cheers.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Problems with property definition using OTB and omitting []  Topic is solved

12 Feb 2018, 04:14

It'll be fixed.

FYI, the bug only applies to property names shorter than three characters.

Edit: Fixed by v2.0-a089.
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: Problems with property definition using OTB and omitting []

12 Feb 2018, 04:25

lexikos wrote:It'll be fixed.
:thumbup:
lexikos wrote:FYI, the bug only applies to property names shorter than three characters.
Indeed, whitespace included it seems. This works,

Code: Select all

class a{
	b  {
	}
}
Cheers.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 19 guests