Skip to content

Default parameters: constructor call not found by Call Hierarchy #775

@mauromol

Description

@mauromol

Somewhat follow up to #768

Consider this:

package test42

class GBean {

	GBean() {}
	
	GBean(String foo, String bar = 'hello') {}
	
	void doSomething() {}
	
	void doSomething(String foo, String bar = 'bar') {}
}

And this:

package test42;

class Test43 {

	void test() {
		def b2 = new GBean('foo')
		
		b2.doSomething()
		b2.doSomething('foo')
		b2.doSomething('foo', 'bar')
	}
}

Go to test42.GBean.GBean(String, String). and invoke Call Hierarchy: the call from test42.Test43.test() is not found.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions