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

Extends: [MyClass] throws "klass is not a constructor" #2791

Closed
CNSKnight opened this Issue Nov 2, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@CNSKnight

CNSKnight commented Nov 2, 2017

#odd-but-annoying quirk

MooTools.version "1.6.0"

Passing a single-element array to Class.Extends throws "klass is not a constructor"

Replacing Extends: [MyClass] with Extends: MyClass is handled

@SergioCrisostomo

This comment has been minimized.

Member

SergioCrisostomo commented Nov 5, 2017

@CNSKnight can you make a jsFiddle that reproduces this problem?

@Oliv

This comment has been minimized.

Oliv commented Nov 15, 2017

I think this reproduces the behaviour : https://jsfiddle.net/68jghwo6/1

@DimitarChristoff

This comment has been minimized.

Member

DimitarChristoff commented Feb 14, 2018

You can only have one super to extend, array does not make any sense. This is not like Implements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment