Bug 441553 - [xbase][hover] Bogus de-sugared code in hover
Summary: [xbase][hover] Bogus de-sugared code in hover
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.6.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-08-12 03:13 EDT by Sebastian Zarnekow CLA
Modified: 2017-08-04 06:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2014-08-12 03:13:23 EDT
class MyExtension {
	def String getXyzManager(Object o) {
		return ''
	}
}
class MyTest {
	extension MyExtension = new MyExtension
	def test() {
		xyzManager // <-- hover here
	}
}

The hover shows

this._myExtension.getXyzManager(MyTest)

whereas the compiled code is

this._myExtension.getXyzManager(this)