| Summary: | [xtend] validate import statements | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Moritz Eysholdt <moritz.eysholdt> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | sebastian.zarnekow, sven.efftinge |
| Version: | unspecified | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Moritz Eysholdt
If I understood correctly, the missing error marker for the invalid import is the problem, isn't it? (In reply to comment #1) > If I understood correctly, the missing error marker for the invalid import is > the problem, isn't it? that would solve (or at least prevent) this situation, too. Import statements should be checked whether they - exist at all (error if not) - are used (warning if not) - static imports contains static members (error if not) See also bug 300906 We now have errors for unresolvable and warnings for unused, duplicate and wildcard imports (the latter are now deprecated). A quick fix using the organize imports action is registered for the warnings. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |