Bug 538715 - [implementation] simplify grammar around FormalParameterList
Summary: [implementation] simplify grammar around FormalParameterList
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.9   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-06 05:49 EDT by Stephan Herrmann CLA
Modified: 2022-07-13 16:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2018-09-06 05:49:45 EDT
The Proposed Final Draft of JLS 11 contains a few simplifications around the grammar rules for FormalParameterList, which might we worth considering for simplifying also our grammar.

I understand the changes as saying:

- ReceiverParameter has been pulled out of FormalParameterList into MethodDeclarator

- LastFormalParameter has been removed, only FormalParameter is now used, limitation moved to text

- No longer explicitly prohibited: mixed array for varargs param, but no longer possible in grammar, see in particular the new nonterminal VariableArityParameter
Comment 1 Stephan Herrmann CLA 2019-05-19 18:19:31 EDT
Might be interesting when / before a new Java feature touches this area.
For now: no specific plans.
Comment 2 Eclipse Genie CLA 2022-07-13 16:34:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.