Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342276 - [Xtend] throws declaration is not computed transitively
Summary: [Xtend] throws declaration is not computed transitively
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 08:29 EDT by Robert von Massow CLA
Modified: 2017-09-19 17:03 EDT (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert von Massow CLA 2011-04-08 08:29:25 EDT
Build Identifier: 2.0.0.v201104080435

For example take these two classes:

import static extension java.net.URLDecoder.*

class Foo{
	urlDecode (String s){
		s.decode("ISO-8859-1")
	}
}

class Bar {
	@Inject extension Foo
	bar(String s) {
		c.urlDecode
	}
}

The throws declaration is computed for Foo.urlDecode(String s) but not for Bar.bar(String s)

Reproducible: Always
Comment 1 Sven Efftinge CLA 2011-04-08 10:03:00 EDT
pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 16:52:32 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:03:40 EDT
Closing all bugs that were set to RESOLVED before Neon.0