Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357272 - NoSuchMemberError on dictionary initializer
Summary: NoSuchMemberError on dictionary initializer
Status: CLOSED DUPLICATE of bug 355445
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 14:27 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Heitz CLA 2011-09-09 14:27:19 EDT
This declaration:

a dictionary = new dictionary{ key1 = "a", key2 = "AA" };


Results in this error when I save my file:

Caused by: org.eclipse.edt.mof.egl.NoSuchMemberError: Member not found: key1
	at org.eclipse.edt.mof.egl.impl.MemberAccessImpl.resolveMember(MemberAccessImpl.java:130)
	at org.eclipse.edt.mof.egl.impl.MemberAccessImpl.getMember(MemberAccessImpl.java:82)
Comment 1 Matt Heitz CLA 2011-09-21 08:04:28 EDT

*** This bug has been marked as a duplicate of bug 355445 ***