Bug 558814 - [14] Missing parenthesis in the record gives "class expected" error
Summary: [14] Missing parenthesis in the record gives "class expected" error
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.15   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact: Manoj N Palat CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-06 00:20 EST by Sarika Sinha CLA
Modified: 2023-05-03 06:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarika Sinha CLA 2020-01-06 00:20:29 EST
public record Point1 {

suggests "class" expected.

public record Point1() {
removes the error.

"Parenthesis missing" error would have helped.
Comment 1 Sarika Sinha CLA 2020-01-06 00:22:00 EST
Update after discussion with Manoj, this will be take up after record becomes a standard feature.
Comment 2 Eclipse Genie CLA 2022-03-03 01:59:07 EST
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.
Comment 3 Jay Arthanareeswaran CLA 2023-05-03 06:50:46 EDT
This is still a problem. But we are reporting a different syntax error this time:

Syntax error, insert "RecordHeader" to complete RecordHeaderPart