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
3aab0b54
Commit
3aab0b54
authored
May 24, 2020
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue where a undefined definition would be added to the callstack
parent
34708aa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
internalCallTree.js
remix-debug/src/solidity-decoder/internalCallTree.js
+4
-1
No files found.
remix-debug/src/solidity-decoder/internalCallTree.js
View file @
3aab0b54
...
...
@@ -109,7 +109,10 @@ class InternalCallTree {
let
functions
=
[]
if
(
!
scopeId
)
return
functions
while
(
true
)
{
functions
.
push
(
this
.
functionDefinitionsByScope
[
scopeId
])
let
functionDefinition
=
this
.
functionDefinitionsByScope
[
scopeId
]
if
(
functionDefinition
!==
undefined
)
{
functions
.
push
(
functionDefinition
)
}
let
parent
=
this
.
parentScope
(
scopeId
)
if
(
!
parent
)
break
else
scopeId
=
parent
...
...
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