[OBJJ] Parser doesn't detect double instance variable declaration #362

Closed
p3consulting opened this Issue Dec 8, 2009 · 10 comments

Projects

None yet

5 participants

No description provided.

@implementation MyClass : CPObject {
CPString var1 ;

CPNumber var1 ;
}

doesn't generate error or warning.

Contributor

yeah the parser doesn't do semantic checks on the code, only syntax checks so this would be missed.

cappbot commented May 9, 2012

Milestone: 1.0. Labels: #accepted, #needs-patch, Objective-J, bug. What's next? This issue needs a volunteer to write and submit code to address it.

Contributor

This seems to still be an issue.

Perhaps @mrcarlberg can comment on this?

Member

Yes, the new compiler does not issue a warning for this. I have this and a hand full other warnings on my todo list. I will implement those when I get some time to spare.

Thanks for letting me know about this issue.

Contributor

Possibly related: #512

Contributor

@mrcarlberg Was this solved by your recent pull request?

Member

No, this is not fixed yet.

Member

+#fixed
by #2326

@mrcarlberg mrcarlberg closed this Mar 13, 2015
cappbot commented Mar 13, 2015

Milestone: 1.0. Labels: #fixed, Objective-J, bug. What's next? This issue is considered successfully resolved.

@cappbot cappbot added #fixed and removed #accepted #needs-patch labels Mar 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment