Parsing issue with abstract function declarations without semicolons

Description

Consider this code:

abstract component { abstract function f() abstract function g() }

This should compile fine, but it doesn't unless I include semicolons after each statement.

Environment

None

Activity

Show:

Andrew Dixon 11 November 2015 at 08:41

As per comments this is not possible.

Michael Offner 6 October 2015 at 16:48

we will have a problem with meta data with this syntax consider this syntax

function test() susi=1;

does not work without semicolon, then lucee has no clue if "susi=1" is a metadata definition or a variable definition following the function declaration.

Michael Offner 5 October 2015 at 13:57

like with interfaces this is not working in Lucee and ACF, so this is a feature request.

Won't Fix

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 15 April 2015 at 12:07
Updated 24 October 2022 at 13:44
Resolved 11 November 2015 at 08:41

Flag notifications