Coder Social home page Coder Social logo

Comments (10)

borkdude avatar borkdude commented on September 22, 2024

I opened a new issue here @tecumsehcommunications

from squint.

popeguy avatar popeguy commented on September 22, 2024

from squint.

borkdude avatar borkdude commented on September 22, 2024

Avoid the hyphens for now the, it's a munging issue.

from squint.

borkdude avatar borkdude commented on September 22, 2024

I fixed the export { class-1, Class2, c } problem.
I kind of lost track of what is the next problem. Can you maybe create a little example (preferably in the playground) to show what the next issue is?

from squint.

popeguy avatar popeguy commented on September 22, 2024

from squint.

borkdude avatar borkdude commented on September 22, 2024

With the playground I mean:

https://squint-cljs.github.io/squint/

If you hit the share button, you can share the example here via a link. But I'll try the code.

from squint.

borkdude avatar borkdude commented on September 22, 2024

I can reproduce the error Cannot access 'self__' before initialization here:

https://squint-cljs.github.io/squint/?src=KGRlZmNsYXNzIGNsYXNzLTEKICAoZmllbGQgLXgpCiAgKGZpZWxkIC15IDpkdWRlKSA7OyBkZWZhdWx0CiAgKF46c3RhdGljIGZpZWxkIGEpCiAgKF46c3RhdGljIGZpZWxkIGIgOmR1ZGUpIDs7IGRlZmF1bHQKICAoY29uc3RydWN0b3IgW3RoaXMgeF0gKHNldCEgLXggeCkpCgogIE9iamVjdAogIChnZXQtbmFtZS1zZXBhcmF0b3IgW19dIChzdHIgIi0iIC14KSkKICAoXjpzdGF0aWMgc3RhdGljLW1ldGhvZCBbX10gKHN0ciAic3RhdGljIGZpZWxkOiAiIGEpKSkKCihkZWZjbGFzcyBDbGFzczIKICAoZXh0ZW5kcyBjbGFzcy0xKQogIChmaWVsZCAteSAxKQogIChjb25zdHJ1Y3RvciBbXyB4IHldCiAgICAgICAgICAgICAgIChzdXBlciAoKyB4IHkgLXkpKSkKCiAgT2JqZWN0CiAgKGR1ZGUgW19dCiAgICAgICAgKHN0ciAteSAoc3VwZXIuZ2V0LW5hbWUtc2VwYXJhdG9yKSkpCiAgKF46YXN5bmMgZmV0Y2ggW19dCiAgICAoanMvZmV0Y2ggImh0dHBzOi8vY2xvanVyZS5vcmciKSkKCiAgKHRvU3RyaW5nIFt0aGlzXSAoc3RyICI8PDw8IiAoLmR1ZGUgdGhpcykgIj4%2BPj4iKSApKQoKKGRlZiBjIChuZXcgQ2xhc3MyIDEgMikp&repl=true

This is because a field name is used in a call to super. You're not allowed to do this, since the field isn't initialized at that point.
This would be similar as writing super(x + y + this._y);. Node.js will spit out an error for this:

ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor

The rest of the errors have been fixed, as you can verify on the playground (again: with playground I mean the website linked above, not the REPL). If you can provide a repro using the playground by hitting Share and pasting the link here, I'll happily look at this again. I will publish a new version of squint later today.

Thanks!

from squint.

popeguy avatar popeguy commented on September 22, 2024

from squint.

borkdude avatar borkdude commented on September 22, 2024

Ah now I get what you are saying, the docs contain that mistake, makes sense. I'll fix that and then release another squint.

from squint.

borkdude avatar borkdude commented on September 22, 2024

Done and published. Please let me know if you have any other problems.

from squint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.