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

[js] debug classes names #9117

Closed
ncannasse opened this issue Feb 1, 2020 · 2 comments
Closed

[js] debug classes names #9117

ncannasse opened this issue Feb 1, 2020 · 2 comments
Labels
platform-javascript Everything related to JS / JavaScript
Milestone

Comments

@ncannasse
Copy link
Member

When compiling to JS using the following options:

-D js-classic
-D js-unflatten

The classes output is like this:

hide.comp.cdb.Table = $hxClasses["hide.comp.cdb.Table"] = function(editor,sheet,root,mode) { ... }

And in the VSCode JS debugger, it shows like this:

image

I think that by separating the single assignment into two separates it should display correctly.

@nadako
Copy link
Member

nadako commented Feb 1, 2020

maybe we should (also?) use named functions for this

@RealyUniqueName RealyUniqueName added the platform-javascript Everything related to JS / JavaScript label Feb 14, 2020
@RealyUniqueName RealyUniqueName added this to the Backlog milestone Feb 14, 2020
@Simn Simn modified the milestones: Backlog, Later Mar 24, 2023
@kLabz
Copy link
Contributor

kLabz commented Apr 1, 2023

This should have been fixed by #10894

@kLabz kLabz closed this as completed Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform-javascript Everything related to JS / JavaScript
Projects
None yet
Development

No branches or pull requests

5 participants