Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AS3][CodeGenerator] Wrong result after executing Implement interface methods #2278

Closed
SlavaRa opened this issue Jul 27, 2018 · 0 comments
Closed

Comments

@SlavaRa
Copy link

SlavaRa commented Jul 27, 2018

interface IA {
	public function get v():Function/*(v1:*):int*/ {
		return null;
	}
}

class A implements I|A {
	
}

| - cursor
actual result:

interface IA {
	public function get v():Function/*(v1:*):int*/ {
		return null;
	}
}

class A implements IA {
	
	/* INTERFACE IA */
	
	public function get v():int {
		return _v;
	}
}

expected result:

interface IA {
	public function get v():Function/*(v1:*):int*/ {
		return null;
	}
}

class A implements IA {
	
	/* INTERFACE IA */
	
	public function get v():Function/*(v1:*):int*/ {
		return _v;
	}
}
@SlavaRa SlavaRa self-assigned this Jul 27, 2018
SlavaRa pushed a commit to SlavaRa/flashdevelop that referenced this issue Jul 27, 2018
…fter executing 'Implement interface methods'(Getter). fixes fdorg#2278
SlavaRa pushed a commit to SlavaRa/flashdevelop that referenced this issue Jul 27, 2018
…fter executing 'Implement interface methods'(Setter). fixes fdorg#2278
SlavaRa pushed a commit to SlavaRa/flashdevelop that referenced this issue Jul 27, 2018
…fter executing 'Implement interface methods'(Methods). fixes fdorg#2278
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant