Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369205 - Xtend2 doesn't check for imports that collide with the name of the class in the file
Summary: Xtend2 doesn't check for imports that collide with the name of the class in t...
Status: CLOSED FIXED
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Holger Schill CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 07:01 EST by Ed Merks CLA
Modified: 2017-10-31 11:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Merks CLA 2012-01-20 07:01:00 EST
This doesn't complain that java.util.List isn't used and doesn't complain that it collides with the locally defined class name. 

package com.example

import java.util.List

class List {
	List x
	
}
Comment 1 Holger Schill CLA 2012-04-18 05:23:03 EDT
In java
Comment 2 Holger Schill CLA 2012-04-18 06:08:51 EDT
pushed fix and tests to master.
Comment 3 Eclipse Webmaster CLA 2017-10-31 11:24:32 EDT
Requested via bug 522520.

-M.