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 in symbolic string operations #98

Open
filipeom opened this issue Mar 24, 2024 · 0 comments
Open

Crash in symbolic string operations #98

filipeom opened this issue Mar 24, 2024 · 0 comments

Comments

@filipeom
Copy link
Member

filipeom commented Mar 24, 2024

// inherit parent's constructor
var code = members.__parent.toString();
var args = code.substring( code.indexOf("(")+1, code.indexOf(")") );
var inner_code = code.substring( code.indexOf("{")+1, code.lastIndexOf("}") );
eval('constructor = function ('+args+') {'+inner_code+'};');
	
@filipeom filipeom added the bug label Mar 24, 2024
@filipeom filipeom added type: bug and removed bug labels Aug 14, 2024
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