Comments (5)
Hello Sylvain,
I think it's related to asciidoctor/asciidoctor.js#299 and chaijs/chai#1109
In short, Opal uses circular references and when you use deep equals, Chai will loop indefinitely.
from opal-node-runtime.
Thank you for your replay Guillaume.
I investigate the issue a little bit more after my initial message. Apparently, after having done some tests, Chai does not break on circular references. And I follow the code on the debugger, and it does not seem to be stuck in an infinite loop.
However, I notice opal is attaching something like 800 methods to the Array
and Function
prototypes (or maybe just to Object
?)--and a deep inspection could result in a combinatory explosion.
I assume there is no easy way to reduce the Opal footprint on the standard objects prototypes?
from opal-node-runtime.
Indeed definitely the same issue as chaijs/chai#1109
from opal-node-runtime.
The next version of Opal will fix this issue: opal/opal#1821
from opal-node-runtime.
I believe this issue was fixed in https://github.com/Mogztter/opal-node-runtime/releases/tag/v1.0.7
Could you please give it a try (an reopen this issue if it's not the case) ?
from opal-node-runtime.
Related Issues (8)
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 opal-node-runtime.