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 Add as function parameter #2280

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

Comments

@SlavaRa
Copy link

SlavaRa commented Jul 27, 2018

class A {
	public function foo():void {
		var |v:Function/*(v1:*):int*/;
	}
}

| - cursor
actual result:

class A {
	public function foo(v:int):void {
		var v:Function/*(v1:*):int*/;
	}
}

expected result:

class A {
	public function foo(v:Function/*(v1:*):int*/):void {
		v;
	}
}
SlavaRa pushed a commit to SlavaRa/flashdevelop that referenced this issue Jul 27, 2018
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