Code Monkey home page Code Monkey logo

Comments (9)

Zmarfan avatar Zmarfan commented on August 15, 2024 1

Thank you so much! I will check those out and try my best! :D

from jint.

lahma avatar lahma commented on August 15, 2024 1

Well this was an easy one! 😉

from jint.

lahma avatar lahma commented on August 15, 2024

A PR to fix with a test case would be much appreciated.

from jint.

Zmarfan avatar Zmarfan commented on August 15, 2024

@lahma I would love to give it a go at trying to fix it but it would be my first contribution (to any open source), is there a way to assign myself (or remove assignment if I can't fix it) for this issue so I don't spend time looking into it and someone else fixes it haha? 😂 Any rules or what not? Sorry for noob questions ^^

from jint.

lahma avatar lahma commented on August 15, 2024

Hey there's always the first time! Let's try to make it a positive experience.

There's some general guidance for pull requests https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request , a takeaway could be creating a separate branch and work from there.

Start with a failing test case and then debug what's happening. Try to follow coding conventions in code base even if they are not something that you usually follow.

Create a PR to showcase progress and don't hesitate to ask for information!

from jint.

Zmarfan avatar Zmarfan commented on August 15, 2024

@lahma The area of code I would need to alter to fix the issue would probably benefit from a bit of refactoring first (at least according to me) :3 Is it okay and/or encouraged to make PRs with just refactorings (not rewrites though)? In this case just splitting up a long method into smaller methods or maybe even some static classes? :3

from jint.

lahma avatar lahma commented on August 15, 2024

Pretty hard to say as I don't know what is the starting point and the goal. Maybe we can discuss the outcome via the PR.

from jint.

Zmarfan avatar Zmarfan commented on August 15, 2024

That sounds like a plan! Basically it's a long switch case for a lot of different types to convert and it would probably be nice to have a method for each case or something rather than each converter code inside the case block ^^ I am fairly sure the bug itself lies within the object/array case block. But I'll see if I can put a refactor PR together and we can discuss it there! if we don't like it we can just close it!

from jint.

Zmarfan avatar Zmarfan commented on August 15, 2024

After finally getting home to my computer and actually started writing some code I believe we can close this issue. This bug has probably been fixed after the version I tested it on because the exact same code which made my application throw a StackOverflow exception instead threw a JavascriptException (Cyclic reference detected.).

from jint.

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.