Skip to content

Fix class .toString inheritance#882

Merged
Perryvw merged 3 commits intoTypeScriptToLua:masterfrom
ark120202:class-tostring-inheritance
May 24, 2020
Merged

Fix class .toString inheritance#882
Perryvw merged 3 commits intoTypeScriptToLua:masterfrom
ark120202:class-tostring-inheritance

Conversation

@ark120202
Copy link
Copy Markdown
Contributor

Fixes #728

Copy link
Copy Markdown
Member

@Perryvw Perryvw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, needs conflict fixed.

}
}

class B extends A {}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a test where B overrides in herited toString? Do we need one?

@Perryvw Perryvw merged commit 42b3568 into TypeScriptToLua:master May 24, 2020
@ark120202 ark120202 deleted the class-tostring-inheritance branch May 24, 2020 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inheritance breaks toString()

2 participants