| Summary: | [xtend] Find references doesn't work well with unsaved state | ||
|---|---|---|---|
| Product: | [Tools] Xtend | Reporter: | Sebastian Zarnekow <sebastian.zarnekow> |
| Component: | Core | Assignee: | Project Inbox <xtend-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | christian.dietrich.opensource, moritz.eysholdt, sven.efftinge |
| Version: | 2.2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Sebastian Zarnekow
This has been fixed in the meantime.
class Z {
extension String
def Integer dummy() {
42.substring.length
}
}
J
Just tried to fined references on the keyword extension and got an error dialog with: 'Element '_string' does not exist anymore'
Steps to reproduce: 1) Create a new class 2) Paste the extension field and the method (don't save) 3) Find references on the keyword 'extension' The problem is the unsaved state. An error dialog pops up with regular fields as well. We should at least catch the error and tell the user to save the editor for now. see also bug 433398 *** This bug has been marked as a duplicate of bug 433398 *** |