Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319346

Summary: [Content Assist] Deep (Endless?) Recursion in ParserBasedContentAssistContextFactory.computeFollowElements
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 1.0.0Flags: sebastian.zarnekow: helios+
Target Milestone: SR1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2010-07-09 04:04:53 EDT
In Xbase given the following context:

String foo(String foo2) {
	foo2.<CURSOR>concat(foo('foo'));
}

I get an endless recursion in 

protected void computeFollowElements(FollowElementCalculator calculator, FollowElement element) 

when hitting CTRL+Space at the <CURSOR> position.
Comment 1 Sebastian Zarnekow CLA 2010-07-20 06:02:41 EDT
Fixed in HEAD.
Comment 2 Karsten Thoms CLA 2017-09-19 15:48:53 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.