Comments (9)
Thank you so much! I will check those out and try my best! :D
from jint.
Well this was an easy one! 😉
from jint.
A PR to fix with a test case would be much appreciated.
from jint.
@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.
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.
@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.
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.
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.
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)
- System.InvalidOperationException: 'UnwrapIfPromise' called before Promise was settled HOT 1
- Readonly engine HOT 5
- Tasks cannot be executed sequentially
- Max Statements and general recommendations for limits HOT 1
- JsonValue primitives HOT 1
- The type initializer for 'Jint.Native.Global.GlobalObject' threw an exception.
- Unexpected token using modules HOT 1
- Can no longer use cached Esprima Scripts HOT 1
- LocaleCompare encountered inconsistent results with the browser HOT 1
- NRE after upgrading to Jint 3.1.1 from 3.1.0 HOT 1
- URL API HOT 1
- Wrong Repo, sorry HOT 1
- Task<JsValue> is not correctly marshalled into JS code HOT 2
- Implicit Namespaces & Interopt HOT 4
- Addition-assignment -, subtract-assignment - and multiply-assignment operator throws an error when using BigInt HOT 2
- Incorrect C# code not throwing an exception HOT 1
- Engine.Execute fails when executing Array.map (d3.js) HOT 1
- System.NullReferenceException: Object reference not set to an instance of an object. HOT 5
- Setting private properties causes NRE HOT 6
- Is the tail-call feature really needed?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jint.