Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
87992d0d
Commit
87992d0d
authored
Jan 04, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
83ded7df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
internalCallTree.ts
libs/remix-debug/src/solidity-decoder/internalCallTree.ts
+2
-2
No files found.
libs/remix-debug/src/solidity-decoder/internalCallTree.ts
View file @
87992d0d
...
@@ -224,7 +224,7 @@ async function buildTree (tree, step, scopeId, isExternalCall, isCreation) {
...
@@ -224,7 +224,7 @@ async function buildTree (tree, step, scopeId, isExternalCall, isCreation) {
// if not, we are in the current scope.
// if not, we are in the current scope.
// We check in `includeVariableDeclaration` if there is a new local variable in scope for this specific `step`
// We check in `includeVariableDeclaration` if there is a new local variable in scope for this specific `step`
if
(
tree
.
includeLocalVariables
)
{
if
(
tree
.
includeLocalVariables
)
{
includeVariableDeclaration
(
tree
,
step
,
sourceLocation
,
scopeId
,
newLocation
,
previousSourceLocation
)
await
includeVariableDeclaration
(
tree
,
step
,
sourceLocation
,
scopeId
,
newLocation
,
previousSourceLocation
)
}
}
previousSourceLocation
=
sourceLocation
previousSourceLocation
=
sourceLocation
step
++
step
++
...
@@ -357,7 +357,7 @@ function extractVariableDeclarations (ast, astWalker) {
...
@@ -357,7 +357,7 @@ function extractVariableDeclarations (ast, astWalker) {
if
(
node
.
nodeType
===
'VariableDeclaration'
||
node
.
nodeType
===
'YulVariableDeclaration'
)
{
if
(
node
.
nodeType
===
'VariableDeclaration'
||
node
.
nodeType
===
'YulVariableDeclaration'
)
{
ret
[
node
.
src
]
=
[
node
]
ret
[
node
.
src
]
=
[
node
]
}
}
if
(
node
.
nodeType
===
'VariableDeclarationStatement'
||
node
.
nodeType
===
'YulVariableDeclarationStatement'
)
{
if
(
node
.
initialValue
&&
(
node
.
nodeType
===
'VariableDeclarationStatement'
||
node
.
nodeType
===
'YulVariableDeclarationStatement'
)
)
{
ret
[
node
.
initialValue
.
src
]
=
node
.
declarations
ret
[
node
.
initialValue
.
src
]
=
node
.
declarations
}
}
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment