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

Crash minifying in babili 0.0.12 #455

Closed
AshleyScirra opened this issue Mar 4, 2017 · 0 comments
Closed

Crash minifying in babili 0.0.12 #455

AshleyScirra opened this issue Mar 4, 2017 · 0 comments
Labels
bug Confirmed bug
Milestone

Comments

@AshleyScirra
Copy link

Minifying this in babili 0.0.12:

function foo(param)
{
	if (param === null)
		return;
	
	let thingA = param.a;
	let thingB = param.b;
	
	if (!thingA && !thingB)
		return;
	
	let thingC = param.c;
}

crashes with "TypeError: unknown: Cannot read property 'scope' of null".

That's a minimal repro, if you delete any lines from the function foo it doesn't reproduce any more.

@boopathi boopathi added the bug Confirmed bug label Mar 14, 2017
@boopathi boopathi modified the milestone: 1.0 Apr 6, 2017
@boopathi boopathi mentioned this issue Apr 30, 2017
boopathi added a commit that referenced this issue May 4, 2017
boopathi added a commit that referenced this issue May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug
Projects
None yet
Development

No branches or pull requests

2 participants