Comments (5)
function test0() {
(function ($ = function () { }) { });
}
test0();
Somewhat simplified test case.
from escargot.
It looks like this is a scope context problem. The default parameter is instantiated in test0
, and this->config.parseSingleFunctionChildIndex
grows by 1. So when the actual body is parsed, we reached the end of child functions.
from escargot.
@zherczeg @rerobika
Are you working on this issue? I'm going to take this issue if you've not started yet
from escargot.
@clover2123 I've investigated the problem but I don't have proper solution for it, so please feel free to do it.
from escargot.
@rerobika Thanks. I'll take a look at this issue.
from escargot.
Related Issues (20)
- Assertion `context->m_registerStack->size() == before' failed in Escargot::ExpressionStatementNode::generateStatementByteCode HOT 1
- SEGV on unknown address in Escargot::ExecutionState::hasRareData()
- SEGV on unknown address in Escargot::EncodedValue::readPointerIsNumberEncodedValue
- SEGV on unknown address in Escargot::TightVector
- stack-overflow in third_party/yarr/YarrPattern.cpp
- Assertion `slot.m_index != (18446744073709551615UL)' failed in Escargot::GlobalEnvironmentRecord::setMutableBindingByBindingSlot
- Assertion `findResult.first != (18446744073709551615UL)' failed in Escargot::Object::redefineOwnProperty HOT 1
- Assertion `isPointerValue()' failed in Escargot::PointerValue* Escargot::Value::asPointerValue HOT 1
- Assertion `m_optionalChainingJumpPositionLists.size()' failed in Escargot::ByteCodeGenerateContext::addOptionalChainingJumpPosition HOT 1
- stack-overflow in Escargot::ObjectStructureWithoutTransition::lastFoundPropertyIndex
- RELEASE_ASSERT_NOT_REACHED at src/runtime/EnvironmentRecord.h (94) HOT 1
- memcpy-param-overlap in Escargot::VectorCopier HOT 1
- terminate called after throwing an instance of 'Escargot::esprima::Error*' in Escargot::esprima::Parser::parsePrimaryExpression HOT 1
- Null pointer dereference in Escargot::NativeFunctionObject::processNativeFunctionCall HOT 1
- dynamic-stack-buffer-overflow in Escargot::PointerValue::getTypeTag
- global-buffer-overflow in Escargot::InterpreterSlowPath::unaryTypeof
- SEGV on unknown address in Escargot::InterpreterSlowPath::markEnumerateKey
- Invalid pointer passed to free() related to ArrayObject HOT 1
- Null pointer dereference in Escargot::EnumerateObject::checkLastEnumerateKey
- Inquiry about Security Policy and CVE Management HOT 1
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 escargot.