Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

FunctionObject::IsConstructor #13

Closed
aight8 opened this issue Sep 30, 2016 · 3 comments
Closed

FunctionObject::IsConstructor #13

aight8 opened this issue Sep 30, 2016 · 3 comments

Comments

@aight8
Copy link

aight8 commented Sep 30, 2016

While I want to check if a JS function is a constructor I got this error:

Error
Call to undefined method V8\FunctionObject::IsConstructor()

Input:

class TestClass {
  testMe() {
    console.log('test me!!!');
  }
}

TestClass

Used the return value.

@pinepain
Copy link
Member

Hi Sebastian! Thanks for the report.

Can you please provide minimal reproducible problem? Also, please, specify php -v and php --ri v8 output. Tests shows that it should work, so it looks like some bug.

@pinepain
Copy link
Member

@aight8 can you provide some more details as described above?

@pinepain
Copy link
Member

Closing as there was no response for two weeks and I can't reproduce the issue, so considering it is not relevant anymore or local problem/typo. If the problem will occurs again, please, fill separate issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants