Bug 434692 - Unhelpful error message on wrong static import
Summary: Unhelpful error message on wrong static import
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 02:58 EDT by Stefan Oehme CLA
Modified: 2014-05-13 02:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Oehme CLA 2014-05-13 02:58:54 EDT
Given the following code:

  import static com.google.common.cache.CacheBuilder

Xtend says: "com.google.common.cache cannot be resolved to a type"

which is much less helpful than JDT's error message: 

"The static import com.google.common.cache.CacheBuilder must be a field or member type"